Re: why hardcode the path of web.xml?

2006-10-20 Thread Christopher Cheng
The reason is that I can use different configuraiton files for different instances. Anyway, I have modified ActionServlet myself and it is working fine. -- Christopher Cheng Jerome Gagner [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If you are using the resin-specific

why hardcode the path of web.xml?

2006-10-18 Thread Christopher Cheng
I am using version 1.3.5 and found out that that path of web.xml is hard coded at line 1723 InputStream input = getServletContext().getResourceAsStream(/WEB-INF/web.xml); In resin, I use config-file to change the path of web.xml for example config-filemyapp-web.xml/config-file. As I

RE: why hardcode the path of web.xml?

2006-10-18 Thread Wesley Wannemacher
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Cheng Sent: Wednesday, October 18, 2006 1:22 PM To: user@struts.apache.org Subject: why hardcode the path of web.xml? I am using version 1.3.5 and found out that that path of web.xml is hard coded

Re: why hardcode the path of web.xml?

2006-10-18 Thread Larry Meadors
Why in the name of all that is right in the universe would you name your web.xml something else? Obfuscation? Larry On 10/18/06, Christopher Cheng [EMAIL PROTECTED] wrote: I am using version 1.3.5 and found out that that path of web.xml is hard coded at line 1723 InputStream input =

Re: why hardcode the path of web.xml?

2006-10-18 Thread Jerome Gagner
If you are using the resin-specific configuration options, you should just separate that out into a resin-conf.xml. What larry said, why do you want to do that? On 10/18/06, Christopher Cheng [EMAIL PROTECTED] wrote: I am using version 1.3.5 and found out that that path of web.xml is hard