wood burning stoves 2.0*
The moose likes JSP and the fly likes Exception Object null when using frames? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Exception Object null when using frames?" Watch "Exception Object null when using frames?" New topic
Author

Exception Object null when using frames?

Bart Allen
Greenhorn

Joined: Dec 19, 2003
Posts: 21
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....


SCJP, SCWCD, SCBCD, SCJD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception Object null when using frames?
 
Similar Threads
problem with errorPage and isErrorPage="true"
<c:catch> tag
not able to catch exceptions from jsp page
Custom Error Page
Handling session timeout with errorPage