tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: How do I develop a Valve?
Date Tue, 10 Jul 2007 08:27:53 GMT
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" <jks@selectacast.net>
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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message