tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4542] - jsp:include inside a custom tag can throw an exception.
Date Thu, 06 Dec 2001 11:21:31 GMT
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=4542>.
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=4542

jsp:include inside a custom tag can throw an exception.

pduffin@volantis.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From pduffin@volantis.com  2001-12-06 03:21 -------
I have tested this and the test case I supplied does work as I expected it too.
Unfortunately I think that my expectations were wrong.

If an error occurs in the included page my test case expected the error page
in the included page to be used but I think that the test page in the included
page should be ignored and the exception should be passed up to the top level
page which should handle it.

The Servlet 2.3 specification states in SRV.9.9.2 error pages
  "The error page mechanism described does not intervene when errors occur in
   servlets invoked using the RequestDispatcher. In this way, a servlet using
   the RequestDispatcher to call another servlet has the opportunity to handle
   errors generated in the servlet it calls."

The JSP specification does not cover this situation though so it is probably
open to interpretation although the reasoning behind the statement in the
servlet specification.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message