tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Brittain <>
Subject Re: Accessing a database from a Valve
Date Thu, 01 Oct 2009 17:54:52 GMT
Sometimes, maybe infrequently, there's a decent reason to implement a small
amount of code outside of the webapp, in the container space.  There are
cases where either modifying the webapp is off limits, or where it would
simplify things to implement it in container space so that it's just always
running, regardless of which webapps are started, stopped, deployed,
undeployed, or redeployed.  Of course, if Tomcat allowed configuring Filters
everywhere it currently allows configuring Valves (as we previously
discussed), then these could be implemented as Filters -- right now Valves
are the only option for doing this.

Jason Brittain

On Wed, Sep 30, 2009 at 10:25 AM, shetc <> wrote:

> The person paying me :-)
> I suggested a filter but he prefers a valve even though it ties that
> functionality to Tomcat.
> --
> View this message in context:
> Sent from the Tomcat - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message