Rob Saccoccio wrote:
> 
> Would it be possible to change the generated _jspService() method to catch
> Throwable instead of Exception?  JSP 1.2 is taking this direction (excerpt
> and patch below).

Just committed the fix in tomcat-4.0 (since this is JSP1.2).

> +       writer.println("java.lang.reflect.InvocationTargetException ex = new
> java.lang.reflect.InvocationTargetException(t);");
>         writer.println("pageContext.handlePageException(ex);");

FYI, did not do this, since the Throwable is passed directly to 
handleException(Throwable):

          writer.println("pageContext.handlePageException(t);");

Thanks for the patch!

    -- Pierre

Reply via email to