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/11/27 18:20:06 UTC

DO NOT REPLY [Bug 5998] - Exception hiding when a JspExceptioin is thrown by a tag

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

Exception hiding when a JspExceptioin is thrown by a tag

johnnyguitar27@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From johnnyguitar27@hotmail.com  2003-11-27 17:20 -------
In Tomcat 4.0.6 this bug seems to persist. The JspException is wrapped in a 
ServletException but this means you can't use an easy mechanism to trap errors -
 eg a page to catch SQLExceptions from Servlets, Jsp and taglibs defined via 
<error-page> in web.xml. You can work round this by assigning a servlet to 
catch javax.servlet.jsp.JspException and then unwrapping the root cause but 
this is painfull....

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org