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=25547>.
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=25547

default errorpage is displayed instead of the one forwarded to

           Summary: default errorpage is displayed instead of the one
                    forwarded to
           Product: Tomcat 5
           Version: 5.0.16
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a servlet which is forwarding to an Errorpage but the error page 
specified is not displayed and a default errorpage is displayed instead. It 
worked fine with Tomcat 4.1.

When I added traces in my errorpage.jsp, I could see it is executed, but
it is not displayed.

Here is how the servlet is forwarding to the errorpage:
catch (Exception e) {
   request.setAttribute("javax.servlet.jsp.jspException", e);
   RequestDispatcher rd = context.getRequestDispatcher("/ErrorPage.jsp");
   rd.forward(request, response);
}

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

Reply via email to