DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42434>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42434 Summary: JSP wraps RuntimeException in ServletException Product: Tomcat 5 Version: 5.5.15 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When a RuntimeException is thrown in a JSP, it becomes wrapped (by the code generated by Jasper) in a ServletException. This prevents e.g. a Filter from catching the RuntimeException and handling it, since it is wrapped in a ServletException (which might have to be caught and handled differently). This behaviour differs from an ordinary servlet, which passes a RuntimeException upwards, as expected. It is hard to see the reason why a JSP should behave differerent from any other kind of servlet in this respect. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]