tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Develop & Configuration of Valve
Date Fri, 01 May 2009 16:34:16 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

> 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.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkn7JIgACgkQ9CaO5/Lv0PBlAwCdEGbYeMYV8rfGvT8Ixoo5Lbbq
BUMAnRYP+cYWX0wcMqoCgyDpE/WAYrck
=NAI0
-----END PGP SIGNATURE-----

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


Mime
View raw message