O'Reilly logo

Tomcat 6 Developer's Guide by Damodar Chetty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ErrorReportValve

This valve is used to post-process the generated response, and so will fire only after the basic valve has finished its processing. This is possible because its invoke() method delegates to the remainder of the pipeline before actually doing any processing for itself.

If the response has already been committed, this valve does nothing more. This would be the case when a custom error resource has been found by the StandardHostValve for a Throwable or for a response status code and has been successfully dispatched using a RequestDispatcher.

However, if the response has not yet been handled, this valve will provide the default handling behavior.

If there is a javax.servlet.error.exception attribute on the request, then it marks this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required