You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/02/16 00:28:57 UTC

DO NOT REPLY [Bug 5736] - Error page exception stored under wrong Attribute

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5736>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5736

Error page exception stored under wrong Attribute

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From craig.mcclanahan@sun.com  2002-02-15 23:28 -------
The exception is passed in attribute "javax.servlet.jsp.jspException" only
in the following circumstances (and Tomcat does this correctly):
* The exception occurred on a JSP page
* This JSP page declared an "errorPage" handler in the <%@ page %>
  directive
* You are looking for the exception in the JSP page or servlet pointed
  at by the errorPage handler

In all other circumstances, exceptions thrown by JSP pages or servlets are 
handled according to the standard servlet specification requirements, which 
includes passing the exception to resources declared with <error-page> handlers 
in the web.xml file as attribute "javax.servlet.error.exception".

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>