Geeta Ramani wrote:

If you set a request scope Exception object before you forward to the
error page, then you will be able to get that reference.

Regards,
Geeta

teknokrat wrote:


I have defined a global exception handler which logs the exception and
then foreards to my error page. In the error page I need to get a
reference to the exception but there is no exception object. How do i
get a reference to the exception thrown in the jsp page?

thanks

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

I use request.setAttribute("exception",exception); in the exception handler before forwarding to the jsp but i still get a NPE when i try
to use exception in the page.




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



Reply via email to