struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: xwork-default.xml
Date Thu, 20 Aug 2009 15:48:09 GMT
2009/8/7 Musachy Barroso <musachy@gmail.com>:
> The beans in xwork are currently defined in code, in the classes
> mentioned before, not in xml files.

Ok, but the problem is in
ConfigurationManager.getContainerProviders(), there is reference to
xwork.xml file which doesn't exist. Instead xwork-default.xml shoud be
used.

    public List<ContainerProvider> getContainerProviders() {
        providerLock.lock();
        try {
            if (containerProviders.size() == 0) {
                containerProviders.add(new XWorkConfigurationProvider());
                containerProviders.add(new
XmlConfigurationProvider("xwork.xml", false));
            }

            return containerProviders;
        } finally {
            providerLock.unlock();
        }
    }


Regards
-- 
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message