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.





------- Additional Comments From [EMAIL PROTECTED]  2001-12-10 18:32 -------
The servlet error page specified in the deployment descriptor is a global error
handler, whereas the error page specified in a jsp page directive is error
handler local to the page.  Therefore the servlet spec does not apply to a JSP
page, which has it own rules governing errors.  Section JSP 2.4.2 states,

"Any uncaught exceptions thrown in the body of the JSP page implementation class
result in the fowarding of the client request and uncaught exception to the
errorPage URL specified by the JSP page (or the implementation default behavior,
if none is specified)."

It clearly indicates that errors occur in a page should be handled by its
errorPage, if specified.  In fact, the error page specified in the servlet
deployment descriptor need not be used, even if an errorPage is not specified in
a JSP page, since the "implementation default behavior" may choose to just
report the error without setting the error code in the response.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to