Hi, 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 [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 02, 2004 12:17 PM >To: [EMAIL PROTECTED] >Subject: Creating Valve > >Hi, > >If I want to create a valve for my application use, how can I compile it >without creating a separate app out of the catalina.jar where other valves >are located and add it to my app. > >Thanks in advance. > >Moushumi Ghosh >Foresight International >711 Rose Road >Lake Zurich, IL 60047 > >([EMAIL PROTECTED]) >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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
