Yes, you can have many struts-config.xml. But each one refers to a
sub-application.

for example :
in the web.xml, you have following code

<init-param>
<param-name>config</param-name>
<param-value>WEB-INF/struts-config.xml</param-value>
</init-param>

<init-param>
<param-name>config/struts2</param-name>
<param-value>/WEB-INF/struts-config2.xml</param-value>
</init-param>


And then, you access to the entries of the second struts-config like that :
http://server:port/application/struts2/*.do

I hope it helps you ...

 Adrien
----- Original Message ----- 
From: "Parthasarathy Kesavaraj" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 8:34 AM
Subject: Having more than one struts-config.xml


> Is it possible to have more than one struts-config.xml..If that so how to
> give entry for second struts-config.xml(Say struts-config1.xml).
> Thanks in advance..
> Regards
> Partha
>
>
> ---------------------------------------------------------------------
> 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