You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/15 22:47:43 UTC
DO NOT REPLY [Bug 25547] New: -
default errorpage is displayed instead of the one forwarded to
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: tomcat-dev@jakarta.apache.org
ReportedBy: jp.pelletier@videotron.ca
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org