tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mott Leroy <>
Subject Best practice for Capturing JSP Errors
Date Thu, 02 Feb 2006 20:36:17 GMT
I am on Tomcat 5.0.x

I am familiar with a couple ways to capture errors that occur on the JSP 
side. One way is to use the error page tag:

<%@ page errorPage="MyErrorPage.jsp" %>

And another is to define the error page in your web.xml:


I've inherited a vast number of JSP pages that use neither. Now they'd 
like to implement functionality to capture *and report* on errors that 
happen on these JSP pages.  What's the best way to achieve this 
functionality? Can error pages defined the second way report on the 
specific error thrown in the same way that the first one can?

Thanks -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message