DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28465>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28465 Cannot use jsp error pages from servlets Summary: Cannot use jsp error pages from servlets Product: Tomcat 5 Version: 5.0.19 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I try to use a jsp error page from a servlet to report an exception by first setting the request attribute "javax.servlet.error.exception" to the exception object and then forwarding to the jsp page. This worked fine with Tomcat 4 but with Tomcat 5.0.19 the default error page is displayed instead. However my error page is displayed correctly if it commits the response (is larger than the page buffer) or it removes the error attribute. So It appears that Tomcat always calls my error page but after the call it tries to forward to the default error page if the error attribute exists. The situation is the same if I use the "javax.servlet.jsp.jspException" attribute. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]