struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <hrab...@gmail.com>
Subject Re: Why I Hate Struts Modules
Date Wed, 12 Oct 2005 22:41:31 GMT
Yes.

Hubert

On 10/12/05, Adam Hardy <ahardy.struts@cyberspaceroad.com> wrote:
> Hubert,
>
> does that work for all config items including global exceptions etc, as
> was discussed earlier?
>
>
> Adam
>
> Hubert Rabago on 12/10/05 17:09, wrote:
> > Paul,
> >
> > You can declare something like a struts-config-common.xml which will
> > contain the config items that are common among your modules and then
> > include them in your config declarations:
> >
> > <param-name>config</param-name >
> > <param-value>
> > /WEB-INF/classes/elms/resource/struts-config-common.xml,
> > /WEB-INF/classes/elms/resource/struts-config.xml
> > </param-value>
> > <param-name>config/module2</param-name >
> > <param-value>
> > /WEB-INF/classes/elms/resource/struts-config-common.xml,
> > /WEB-INF/classes/elms/resource/struts-config-module2.xml
> > </param-value>
> > <param-name>config/module3</param-name >
> > <param-value>
> > /WEB-INF/classes/elms/resource/struts-config-common.xml,
> > /WEB-INF/classes/elms/resource/struts-config-module3.xml
> > </param-value>
> >
> > hth,
> > Hubert
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message