I don’t see how you would have problems with names, if you have unique form names, you would also have unique attribute names. Even thou you have the same attributes:
>From the example below, one can have a form attribute called id in each struts-config. This method had been used on a system that is live now, with no problem. -----Original Message----- From: Manfred Wolff [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 2:48 AM To: Struts Users Mailing List Subject: Re: Multiple struts-config.xml Hi A better way is to use struts modules. Every Module has its own struts-configuration. If you use more than one struts configuration such as described below, you may have problems with duplicate identifiers, becaus struts builds one configuration out of all files. This problems you don't have using modules. Modules acts as a namespace in this case. -Manfred -- =========================================== Dipl.-Inf. Manfred Wolff Software Engineer ------------------------------------------- http://www.manfred-wolff.de http://www.struts-it.org ------------------------------------------- Folashade Adeyosoye wrote: >Yes, in your web.xml > > >Change this... > > <servlet> > <servlet-name>AppName</servlet-name> > <servlet-class>com.path.to.the.ActionServlet</servlet-class> > <init-param> > <param-name>config</param-name> > <param-value>/WEB-INF/struts-config.xml</param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> > >To > > > <servlet> > <servlet-name> AppName </servlet-name> > <servlet-class>com.path.to.the.ActionServlet</servlet-class> > <init-param> > <param-name>config</param-name> > ><param-value>/WEB-INF/struts-config.xml,/WEB-INF/the-employee-config.xml,/W E >B-INF/the-admin-config.xml,/WEB-INF/the-client-config.xml,/WEB-INF/the-bill i >ng-config.xml,/WEB-INF/the-report-config.xml,/WEB-INF/the-patient-config.xm l ></param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> > > >-----Original Message----- >From: Néstor Boscán [mailto:[EMAIL PROTECTED] >Sent: Sunday, April 10, 2005 11:04 PM >To: 'Struts Users Mailing List' >Subject: Multiple struts-config.xml > >Hi > >I have an application and I need to create many web flows. If I use struts >to model the web flows, is it possible to use many struts-config.xml instead >of one? > >Regards, > >Néstor Boscán > > >--------------------------------------------------------------------- >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]