commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sgarlata Matt" <sgarlata_m...@bah.com>
Subject Re: [Chain] ChainServlet first draft
Date Sun, 28 Sep 2003 22:40:24 GMT
Hmm, looks like the list doesn't like .java.  Trying to attach as .zip...
----- Original Message ----- 
From: "Sgarlata Matt" <sgarlata_matt@bah.com>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Sunday, September 28, 2003 5:28 PM
Subject: [Chain] ChainServlet first draft


> Attached is a first cut at creating a ChainServlet.  Committers, please
feel
> free to add this to CVS (you'll need to add the license, version #s, and
> change the package declaration), to modify it, or to tell me what to do to
> modify it (and I will do so).
>
> Craig, you mentioned something about merging or inheriting catalog
> definitions earlier.  I think this is a property that automatically
emerges
> from how you set up the ConfigRuleSet.  I take advantage of this behavior
in
> the ChainServlet.  The ChainServlet reads an XML file and stores a Catalog
> in a servlet context attribute.  If there is already a catalog there, the
> two catalogs are merged.  If the two catalogs have commands with the same
> name, the command from the new catalog takes the place of the command that
> was in the old catalog.
>
> One note that is not in the javadoc is that you can set up multiple chain
> servlets if you have multiple catalogs.  Perhaps this would be better in
the
> package documentation for whatever package the ChainServlet ends up in?
>
> Finally, some code was copied from ConfigParser, so I put Craig in the
> @author list.
>
> Matt
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org

Mime
View raw message