• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exception Object null when using frames?

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two apps which basically use the exact same code and have a generic error page to catch exceptions of type Throwable.
It works in one, but not the other. The only difference is the one that isn't working is using frames. In both cases I have a custom tag on the error page (that is defined in web.xml) which captures the exception information and emails it to the development team. The tag on the error page which is in the app which uses frames is indicating that pageContext.getException() is returning null. I have <%@ page isErrorPage="true" %> on both of my error pages. Just in case It ignored the isErrorPage since it is a framed page, I also put isErrorPage on the parent as well, but to no avail.
Has anyone seen this before, or does anyone have any ideas?

Thanks for any help....
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic