Hi Jan - Apparently this problem is fixed in Tomcat 5. Tomcat 4.1.30
has the following code which has the effect I outlined below (losing the
stack trace of the original exception). Yet another example of why it is
necessary to test a webapp on all versions of the platform it may be
deployed on. -
[Resending, since my original posting contained
JspServletWrapper.java as an attachment and therefore
exceeded the maximum message size of 300 lines enforced
by the JSP-INTEREST list.]
Hi Paul,
> When I throw a JspException from a custom tag the PageContext
> handlePageException() method wraps it
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 or