You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/09/05 14:51:34 UTC

[jira] Updated: (WW-2155) Want to give struts.xml a different name, Config Init parm in web.xml doesn't work to do this

     [ https://issues.apache.org/struts/browse/WW-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2155:
-----------------------------

    Fix Version/s: 2.0.11

> 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
>             Fix For: 2.0.11
>
>
> 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.