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=5318>. 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=5318 Default error page processing broken. Summary: Default error page processing broken. Product: Tomcat 4 Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If an uncaught exception is thrown in a page and no error page was specified then the default error page should be used but it doesn't seem to be working properly and you get a "The document contained no data" error from Netscape. The following pages can be used to reproduce the problem. The nightly build I am using is 20011205. --- UncaughtException.jsp begins here --- <%-- <%@ page errorPage="SimpleErrorPage.jsp" %> --%> <%@ taglib uri="WEB-INF/taglibs/simple.tld" prefix="vt" %> <%-- ========================================================================== % This page tests what happens when an error occurs in the page but no error % page is specified. % ======================================================================= --%> <% if (true) { throw new NullPointerException ("Invalid page"); } %> --- end --- --- SimpleErrorPage.jsp begins here --- <%@ page isErrorPage="true" %> Error page <% System.out.println ("Simple error page"); %> --- end --- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>