By Date: <-- -->
By Thread: <-- -->

Best practice for Capturing JSP Errors



Len Popp wrote:

You can use an <error-page> directive in web.xml to send uncaucht
exceptions to an error page:
  <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/error</location>
  </error-page>

Thanks Len, but I want to do more than catch them, I want to also report on them -- is the exception accessible on the resulting page?


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