DO NOT REPLY [Bug 25547] - 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 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2003-12-17 07:23 --- This is invalid: you set a standard attribute, which will cause the error processing to think Jasper did it. As a result, the response will be reset once again, and the standard report for the exception you set in the attribute will be displayed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 --- Additional Comments From [EMAIL PROTECTED] 2003-12-17 14:30 --- The servlet code was taken from Phil Hanna's book JSP 2.0, The Complete Reference. (ControllerServlet Page 675) I think that the advantage was to allow servlets to use the errorpage of jsp. If that's an invalid use of error page, what would be a valid way to display errors caught by servlets? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 --- Additional Comments From [EMAIL PROTECTED] 2003-12-17 14:38 --- Have you tried creating your own, error page entry in your apps web.xml file? error-page error-code500/error-code location/server_error.html/location /error-page error-page error-code404/error-code location/file_not_found.html/location /error-page - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2003-12-17 19:31 --- I removed the forward to the error page and added this to the web.xml error-page exception-typejava.lang.Throwable/exception-type location/ErrorPage.jsp/location /error-page error-page error-code500/error-code location/ErrorPage.jsp/location /error-page It still display the default error page (It does use the file specified when it is a .html) Here is a reference where they talk about forwarding to an error page http://www.jguru.com/faq/view.jsp?EID=1347 http://www.jguru.com/faq/printableview.jsp?EID=1347 You might have to consider supporting forwarding to an error page 1) for backward compatibility because it was a recommended method of doing things in some books for example 2) There seems to be no ways for a servlet to have the servlet container properly invoke an .jsp error page on its behalf. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2003-12-17 21:44 --- I think you are mistaken about this issue. Please do not reopen the report, and use tomcat-user to debug your setup instead, as this looks like configuration issues. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME | --- Additional Comments From [EMAIL PROTECTED] 2003-12-16 20:04 --- 1) Traces are showing that my error page is executed but not displayed. So the forward is not the only culprit. This forward is different in that the target page has %@ page isErrorPage=true % which is not usually the case. 2) Why is tomcat's default error page displayed with the exception caught by my servlet ? (It act as if my error page was forwarding to the default which it doesn't do) 3) Why is it working in Tomcat 4.1 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 --- Additional Comments From [EMAIL PROTECTED] 2003-12-16 20:10 --- Can you add a test case to reproduce the problem? If I can reproduce the problem with you example, then it with be easy to fix. Merci ;-) -- Jeanfrancois - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 --- Additional Comments From [EMAIL PROTECTED] 2003-12-16 22:47 --- Created an attachment (id=9604) Test Case(war file) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 --- Additional Comments From [EMAIL PROTECTED] 2003-12-16 22:48 --- Jean-Pierre, It looks like I owe you an apology. It appears that the presence of an attribute named javax.servlet.jsp.jspException, bound to the request object, results in the invocation of the error page machinery, even if the exception has been caught. Here's a small test case. To Run: Deploy it, go to http://localhost:8080/error_page_test and click on the ErrorPage link to throw a divide by 0 exception. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25547] - 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 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Additional Comments From [EMAIL PROTECTED] 2003-12-16 00:11 --- RequestDispatcher is working fine for me. You should have a return statement just after the call to forward to stop the execution of your service method. Something else might be blowing up before your error page gets displayed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]