tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: how to get meaningful exception in JSP error page
Date Fri, 03 Jan 2003 06:51:19 GMT
As it happens, JasperException (at least in 4.1 Jasper2) subclasses
ServletException.  You should be able to get this by casting to a
ServletException and calling getRootCause().

"Brian W. Young" <> wrote in message
> Happy New Year,
> I'm using the errorPage="my_own_error.jsp" technique.
> However, the "exception" object in my_own_error.jsp gives me the only
> the Jasper stack trace.  It doesn't include info on what part of my own
> code bombed.  I've tried getCause() on exception but it isn't yielding
> I basically want the bottom most part of the trace that tomcat shows on
> its own interal error page (the one you get before you use the errorPage
> directive)
> Thanks for your pointers.

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

View raw message