Yes, in the error page you can get the exception as a request
attribute, either "javax.servlet.jsp.jspException" or
"javax.servlet.error.exception" (sometimes it's one, sometimes the
other). In my app, I found that this exception has already been
"unwrapped" - it's the original exception, not a ServletException. I'm
not sure it works the same way with Spring's NestedServletException -
you'll have to try it out.
-- 
Len



On Fri, Jan 22, 2010 at 12:15, rotis23 <roti...@yahoo.com> wrote:
>
> Hi Len,
>
> Thanks for your message.
>
> I don't have my 'own' error handler - I just use the error-page elements in
> web.xml.
>
> If I add an error-page for NestedServletException will the exception be
> available to the corresponding jsp [in the request]?
>
> Has anyone extended tomcats error-page implementation to find nested
> exceptions?
>
> Cheers, rotis23
> --
> View this message in context: 
> http://old.nabble.com/error-page-problem---nested-exceptions-tp27272261p27276806.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to