struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Re: struts.xml - change default location
Date Fri, 23 Mar 2007 20:26:53 GMT
Put a stub struts.xml on the classpath that loads your working
configuration from another location. If the stub is under classes and
the one you want is under WEB-INF, try

    <include file="..\struts.xml"/>

-HTH, Ted

On 3/19/07, Bartek <> wrote:
> Hi
> I have to face up the following issue. My location of struts.xml shoudl be
> WEB-INF directory, not WEB-INF/classes.
> What is the easiest way to achieve this?? I tried several different config
> locations (e.g. WEB-INF/struts.xml) for StrutsXmlConfigurationProvider, none
> of them worked. Creating custom configuration provider might help, but it is
> pojo by default , protocol independant and therefore without any
> ServletContext access - what is a pain in this case.
> Cheers
> bartek

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message