This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception Object null when using frames?

 
Bart Allen
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • 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....
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!