Joseph, I looked at this once and remember seeing a good article somewhere,
sure if you google for Tomcat and valve you will find it.
The best way is actually to download the source code and just copy an
existing one that is close to what you looking for, you will then also pick
up on all the dependencies as well.
After researching it I decided not to use valves.... because they are very
dependent on the Tomcat engine and different between versions. So just keep
in mind that your development will never end. Its one of the reasons TC
users avoid tools using valves... unless they maintained like the standard
valves are... they wont move between versions.
In my case I was able to use a filter instead of a valve... if thats at all
possible in your case, rather go for a filter.
----- Original Message -----
From: "Joseph S" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, July 10, 2007 2:39 AM
Subject: How do I develop a Valve?
1) What jar files do I need to include in my classpath to compile a Valve?
2) Where do I put the class file so Tomcat can load it? Under
CATALINA_BASE/common?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]