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 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-file>myapp-web.xml</config-file>. As I start the application, the servlet crashes of course. In the mean time, I have added the following to ActionServlet to get around: String configWebXml = getServletConfig().getInitParameter("configWebXml"); if (input == null) { input = getServletContext().getResourceAsStream(configWebXml); } Could anybody fix this or everybody is already using Struts2? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]