Re: struts.xml - change default location

2007-03-28 Thread doktora
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts.xml---change-default-location-tf3425865.html#a9718423 Sent from the Struts - User mailing list archive at Nabble.com

Re: struts.xml - change default location

2007-03-28 Thread Manu Mahajan
I second this. And thanks for the replies. doktora wrote: I think the fact that you cannot change the location of struts.xml should be put in here: http://struts.apache.org/2.x/docs/struts-1-solutions.html This will help out a lot of people who do not expect s2 to have this different

Re: struts.xml - change default location

2007-03-28 Thread Ted Husted
Done. You can also add comments directly to the page. -T. On 3/28/07, doktora [EMAIL PROTECTED] wrote: I think the fact that you cannot change the location of struts.xml should be put in here: http://struts.apache.org/2.x/docs/struts-1-solutions.html This will help out a lot of people who

Re: struts.xml - change default location

2007-03-27 Thread doktora
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts.xml---change-default-location-tf3425865.html#a9696987 Sent from the Struts - User

Re: struts.xml - change default location

2007-03-27 Thread Ted Husted
Struts 2 uses a different approach to loading the configuration. The initial struts.xml is loaded from the root of the classpath. The easiest way to set that up is to put the struts.xml under the classes folder. The boostrap struts.xml can then load whatever other struts.xml's you would like

Re: struts.xml - change default location

2007-03-23 Thread Ted Husted
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 struts include file=..\struts.xml/ /struts -HTH, Ted http://www.husted.com/ted/blog/ On 3/19/07, Bartek [EMAIL

Re: struts.xml - change default location

2007-03-20 Thread Bartek
-- View this message in context: http://www.nabble.com/struts.xml--- change-default-location-tf3425865.html#a9548614 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

struts.xml - change default location

2007-03-19 Thread Bartek
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 -- View this message in context: http://www.nabble.com/struts.xml---change-default-location-tf3425865.html

Re: struts.xml - change default location

2007-03-19 Thread James Mitchell
is a pain in this case. Cheers bartek -- View this message in context: http://www.nabble.com/struts.xml--- change-default-location-tf3425865.html#a9548614 Sent from the Struts - User mailing list archive at Nabble.com

Re: struts.xml - change default location

2007-03-19 Thread Bartek
in this case. Cheers bartek -- View this message in context: http://www.nabble.com/struts.xml--- change-default-location-tf3425865.html#a9548614 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe

Re: struts.xml - change default location

2007-03-19 Thread James Mitchell
. 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 -- View this message in context: http://www.nabble.com/struts.xml--- change-default-location-tf3425865.html