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=11091>. 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=11091 Tomcat 4.1.7 ignores error page specified in web.xml Summary: Tomcat 4.1.7 ignores error page specified in web.xml Product: Tomcat 4 Version: 4.1.7 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have created a simple test case to illustrate this bug. The test case is a simple web application, with 2 jsp pages (Error.jsp and test.jsp) and a web.xml deployment descriptor. Error.jsp is a simple one line jsp page ("This is the error page") test.jsp does nothing but throw a javax.servlet.jsp.JspException. web.xml has a /Error.jsp set as the designated error page for both 500 response codes and exceptions of type javax.servlet.jsp.JspException. Under tomcat 4.0.3, the expected result occurs; when test.jsp is accessed the contents of the custom error page are returned instead. However, under tomcat 4.1.7, with the exact same web-app a different result occurs. When test.jsp is accessed, a generic apache error page is displayed instead of the custom error page that appears in v4.0.3 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>