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:

<error-page>
        <error-code>500</error-code>
        <location>/myPage.jsp</location>
</error-page>

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 -

Mott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to