struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Delamere" <h...@michael-delamere.de>
Subject Re: Extending the struts config
Date Wed, 06 Nov 2002 06:21:38 GMT
Thank you!

----- Original Message -----
From: "Craig R. McClanahan" <craigmcc@apache.org>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, November 06, 2002 12:16 AM
Subject: Re: Extending the struts config


>
>
> On Tue, 5 Nov 2002, Eddie Bush wrote:
>
> > Date: Tue, 05 Nov 2002 15:37:54 -0600
> > From: Eddie Bush <ekbush@swbell.net>
> > Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> > To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> > Subject: Re: Extending the struts config
> >
> > Michael Delamere wrote:
> >
> > >Eddie,
> > >
> > >you said once (if I remeber correctly), that you extended the
> > >struts-config.xml to accommodate your own configuration settings.
> > >
> > Incorrect.  I used a seperate XML config and used digester to
> > parse/instantiate things.
> >
>
> With the latest nightly builds (i.e. since 1.1b2) you actually *can* do
> this.  You have to set the servlet init parameter "validating" to false,
> because otherwise your extended struts-config.xml file will not pass DTD
> validation (which is on by default).
>
> You'll still need to parse the struts-config.xml file yourself in order to
> read the extra elements; the standard parse will simply ignore them.
> Digester is useful for that.
>
> Craig
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


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


Mime
View raw message