Want to give struts.xml a different name, Config Init parm in web.xml doesn't 
work to do this
---------------------------------------------------------------------------------------------

                 Key: WW-2155
                 URL: https://issues.apache.org/struts/browse/WW-2155
             Project: Struts 2
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 2.0.9
         Environment: configuration of struts when it comes up
            Reporter: Ron Lane


In Struts1 there was a config init parameter where you could set the name of 
the struts-config.xml file.  It would be very useful to have such a config init 
parameter in Struts2 where one could set the name of the config file to 
something other than struts.xml.

Let me explain why we need this.  There is a bug in Jrun where the struts.xml 
file must be in the Java App Server classpath.  That means that if we want more 
than one Web app in the Java app server, all the web apps must share the same 
struts.xml.  If each web app could specify the name of its own struts.xml file, 
then each could have its own config file independent of the other web apps.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to