-
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
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
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
-
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
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
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
--
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
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
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
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
. 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
11 matches
Mail list logo