Hmm, looks like the list doesn't like .java.  Trying to attach as .zip...
----- Original Message ----- 
From: "Sgarlata Matt" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: ChainServlet.zip
Description: Zip compressed data

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

Reply via email to