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

Get Tomcat 6 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.