Forums Register Login

can't access exception object in jsp error page

+Pie Number of slices to send: Send
Hi Guys,

My app throws exceptions when certain request are not valid, pretty standard stuff. I setup an error page using isErrorPage="true" to display the details related to these exceptions. When I deploy my app on JRun 4, and the application throws its error, I receive an NPE (resulting in an http 500) right at the line where the jsp error page prints the implicit exception object's getMessage(). Deploying the same app on my local tomcat instance, it handles the exception object fine, no NPE. Is there some "extra" setting that needs to be set when you have a JRun app handle errors as such? Any tips on this will be greatly appreciated, thanks.

- M
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1143 times.
Similar Threads
error pages
Tomcat to track NullPointerException (NPE)
configuring error page in DD
Problems with Exception Handling via web.xml config
Error Page problem?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:25:20.