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]

Reply via email to