You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by DHarty <ha...@db.erau.edu> on 2001/07/02 18:01:33 UTC
Multiple Struts-config files
My struts-config file is beginning to get a bit unwieldy.
Is it possible to call multiple *-config files from web.xml?
ex:
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/meaningfulName1-config.xml</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/meaningfulName2-config.xml</param-value>
</init-param>
or will "config" be overwritten each time?
D
RE: Multiple Struts-config files
Posted by DHarty <ha...@db.erau.edu>.
Thanks
D
-----Original Message-----
From: Ted Husted [mailto:husted@apache.org]
Sent: Monday, July 02, 2001 12:11 PM
To: struts-user@jakarta.apache.org
Subject: Re: Multiple Struts-config files
People are working on that, but it hasn't made it into a build let.
For more see,
<
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10052.html
>
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/
> DHarty wrote:
>
> My struts-config file is beginning to get a bit unwieldy.
>
> Is it possible to call multiple *-config files from web.xml?
>
> ex:
> <init-param>
> <param-name>config</param-name>
> <param-value>/WEB-INF/meaningfulName1-config.xml</param-value>
> </init-param>
> <init-param>
> <param-name>config</param-name>
> <param-value>/WEB-INF/meaningfulName2-config.xml</param-value>
> </init-param>
>
> or will "config" be overwritten each time?
>
> D
>
Re: Multiple Struts-config files
Posted by Ted Husted <hu...@apache.org>.
People are working on that, but it hasn't made it into a build let.
For more see,
<
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10052.html
>
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/
> DHarty wrote:
>
> My struts-config file is beginning to get a bit unwieldy.
>
> Is it possible to call multiple *-config files from web.xml?
>
> ex:
> <init-param>
> <param-name>config</param-name>
> <param-value>/WEB-INF/meaningfulName1-config.xml</param-value>
> </init-param>
> <init-param>
> <param-name>config</param-name>
> <param-value>/WEB-INF/meaningfulName2-config.xml</param-value>
> </init-param>
>
> or will "config" be overwritten each time?
>
> D
>