Thanks Marino and Manish.....

> ----------
> From:         Marino A. Jonsson[SMTP:[EMAIL PROTECTED]
> Reply To:     Struts Users Mailing List
> Sent:         Friday, November 07, 2003 8:32 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Having more than one struts-config.xml
> 
> 
> "Manish Singla" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Example in web.xml
> >
> >       <param-name>config</param-name>
> >       <param-value>struts-default.xml,struts-config1.xml</param-value>
> >
> > Now, above may cause naming collision.
> > Thus, name actions may be like mod1_ActionsOfModule1.do
> 
> I like to use two configs, so that the second one "extends" the first one,
> and "overloads" the actions and other elements with the same name.
> Be aware though that if you're using Tiles and specify a Tiles Plugin in
> both config files, the one in struts-config1.xml will not be initialized,
> so
> if you are using a different tiles config for the second struts config it
> will be a problem.
> 
> cheers,
> Marin�
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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