tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: Develop & Configuration of Valve
Date Fri, 01 May 2009 17:32:55 GMT
Christopher Schultz wrote:
> Pid,
> 
> On 4/29/2009 4:48 AM, Pid wrote:
>> Step 1. Download latest Tomcat source from tomcat.apache.org.
> 
> Technically speaking, you don't have to get the source. A binary package
> will work, too. You just need to have the correct JAR files in your
> CLASSPATH in order to compile.

You are, of course, correct.
I was hoping that the OP would read the code pick up something...

>> Step 2. Create copy of modified Error Valve (in your own package).
>> Step 3. Configure your application to use new Valve.
> 
> I would also say that "Step 0" would be to re-evaluate whether you need
> to create a Valve at all. You can already specify where to go when any
> exception occurs in your web.xml file using <error-page> elements.

Very true.  I was remiss.

p


> -chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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