On Tue, 4 Feb 2003, Malik Recoing wrote:

>
> And may we use a list of struts-config in combination with a multi-modules
> config ?
> Like that :
>
> <servlet>
>  <servlet-name>action</servlet-name>
>   <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>   <init-param>
>     <param-name>config</param-name>
>     <param-value>/WEB-INF/struts-config-common.xml,
> /WEB-INF/struts-config-global.xml</param-value>
>   </init-param>
>   <init-param>
>     <param-name>config/market</param-name>
>     <param-value>/WEB-INF/struts-config-common.xml,
> /WEB-INF/struts-config-market.xml</param-value>
>   </init-param>
>   <load-on-startup>1</load-on-startup>
> </servlet>
>

Yes, you can do this, but what really happens is the set of files for each
module is merged only within that module.

> Is it dumb ? Or may it be an advance of the feature promised in 1.2 that
> will allow inheritence of configs ?

Multiple files per module is useful even without inheritance, and that's
what you get in 1.1.

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to