Zarar, This probably won't do the trick, since the classpath is for the entire Java Application server, and struts.properties is then for the entire Java App server. Then the new name of struts.xml would apply to all the web apps in the Java app server. We need a parm that is in web.xml, so it is specific to the web application, so each web app could have its own name for struts.xml. This is in essence what the config "init" parm in web.xml did for Struts1 - each web app could specify its own name for the config file. Ron
-----Original Message----- From: Zarar Siddiqi [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 2:41 PM To: Struts Users Mailing List Subject: Re: Can you specify the name of struts.xml for Struts2? The struts.configuration.files property in struts.properties at the root of your classpath can specify struts configuration files using a comma separated list, by default this property is set to: struts.configuration.files=struts-default.xml,struts-plugin.xml,struts.x ml You can change it if you like. Zarar On 8/30/07, Lane, Ron <[EMAIL PROTECTED]> wrote: > We're having a problem with Struts2 running under Jrun. > The 'web application class loader' in Jrun is not finding struts.xml > in WEB-INF/classes. > We can put struts.xml in the overall classpath of the Java application > server, but then that means only one per Java app server. > > 1. Has anyone else experienced this problem and have a solution or > workaround? > 2. In Struts-1, one could specify a name of the struts config file - > is there a way in web.xml to specify an alternative name of struts.xml? > That way each of the web apps can specify its unique name, and even > though all the config files are in the overall classpath, they can be > unique per web app by having a unique name. > > Ron Lane > > --------------------------------------------------------------------- > 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]