• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

can't access exception object in jsp error page

Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic