Frank is correct; we're doing it the same way, with nearly 20 struts config files (and tiles def files) to help organize things.
Try it without the space between the comma and the next entry, e.g.: <param-value>/WEB-INF/struts-config.xml,/WEB-INF/struts-config1.xml</param-value> -----Original Message----- From: Raman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 4:25 AM To: Struts Users Mailing List Subject: Re: using Two struts-config Nopes... This is not working with me.. and giving me message Servlet action is currently unavailable description The requested service (Servlet action is currently unavailable) is not currently available. <servlet> <servlet-name>action</servlet-name> <description>Application's Front Controller</description> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml, /WEB-INF/struts-config1.xml</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>detail</param-name> <param-value>0</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> Initially I have declared two <servlet> tags with names action and action1 and in mapping changed *.do for action and *.do1 for action1 servlet but that too was not picking up.. -- Raman ----- Original Message ----- From: "Otto, Frank" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 16, 2004 2:41 PM Subject: AW: using Two struts-config > Hi, > > use the web.xml in this way: > > servlet> > <servlet-name>xyz</servlet-name> > <servlet-class>xyz.CAppActionServlet</servlet-class> > <init-param> > <param-name>config</param-name> > <param-value>/WEB-INF/struts-config-1.xml, /WEB-INF/struts-config-2.xml, /WEB-INF/struts-config-3.xml</param-value> > </init-param> > ... > > > Regards, > > Frank > > > -----Ursprüngliche Nachricht----- > Von: Raman [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 16. März 2004 10:02 > An: Struts Users Mailing List > Betreff: using Two struts-config > > > Hello, > > I want to use two different struts-config files for my Admin and other for main site. > How can I do that. > I have made changes in web.xml file > declared two diffferent <servlets > but it is working for one site not for other... i don't know why?? > > and giving me error like > nvalid path /Login was requested > > The request sent by the client was syntactically incorrect (Invalid path /Login was requested). > > > Pls help.. > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]