tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Creating Valve
Date Wed, 02 Jun 2004 17:05:34 GMT

Write the Valve.  Put it in whatever package you want.  You will need to
import at the very least org.apache.catalina.Valve since your class will
implement this interface.  Put catalina.jar on your compile-time
classpath, and put the compiled classes for your valve in whatever jar
you want (let's say myValve.jar for example).  Then put myValve.jar in
common/lib (rather than WEB-INF/lib) because it must be available to the
catalina classes when starting up and configuring the server.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Moushumi Ghosh []
>Sent: Wednesday, June 02, 2004 12:17 PM
>Subject: Creating Valve
>If I want to create a valve for my application use, how can I compile
>without creating a separate app out of the catalina.jar where other
>are located and add it to my app.
>Thanks in advance.
>Moushumi Ghosh
>Foresight International
>711 Rose Road
>Lake Zurich, IL 60047
>Ph:847-726-4040  (Ext 257)

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message