Try this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" [ <!ENTITY form-beans SYSTEM "form-beans.xml"> <!ENTITY global-forwards SYSTEM "global-forwards.xml"> <!ENTITY actions-mappings SYSTEM "action-mappings.xml"> <!ENTITY plugins SYSTEM "plugins.xml"> ]>
<struts-config> &form-beans; &global-forwards; &actions-mappings; &plugins; </struts-config> Em Seg, 2003-12-15 Ãs 15:22, Tiago Henrique Costa Rodrigues Alves escreveu: > I tried the second option and did not work out... the first option has > worked for me... > > Tiago Henrique C. R. Alves > > -----Mensagem original----- > De: Philip Mark Donaghy [mailto:[EMAIL PROTECTED] > Enviada em: segunda-feira, 15 de dezembro de 2003 11:47 > Para: Struts Users Mailing List > Assunto: Re: Multiple struts-config files > > > In Struts 1.1, you have two options: you can list > multiple struts-config files as a comma-delimited > list, or you can subdivide a larger application into > modules. > > Do so in the web.xml file. Add the <init-param> tag to > the <servlet> tag. > > <init-param> > <param-name>config</param-name> > > <param-value>/WEB-INF/conf/struts-default.xml,another-struts-config.xml</par > am-value> > </init-param> > > -- OR -- > > <init-param> > <param-name>config</param-name> > > <param-value>/WEB-INF/conf/struts-default.xml</param-value> > </init-param> > <init-param> > <param-name>config/module1</param-name> > > <param-value>/WEB-INF/conf/struts-module1.xml</param-value> > </init-param> > > Phil > > > > ===== > Java Web Application Architect > mapimage.com - Java and GIS > struts1.1:tomcat4.1.27:linuxRH8 > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > > --------------------------------------------------------------------- > 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] -- Marcus Peixoto <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

