When I throw a JspException from a custom tag the PageContext
handlePageException() method wraps it in a ServletException and then
Tomcat JspServletWrapper.service() wraps that in a JasperException
(which is also a ServletException). So the original exception is 3 deep
and the stack trace of the original exception is not reported in the log
(and if there is no message, as with a NullPointerException, then there
is not even a message about what happened). So there is little or no
useful diagnostics. What is the rationale for this behavior? It seems
like the service() method should not wrap a ServletException inside a
JasperException.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com

Reply via email to