Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

struts.xml - change default location

Bartek

2007-03-19

Replies:


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

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.