2014-09-02 15:11 GMT+02:00 <violet...@apache.org>:

> Author: violetagg
> Date: Tue Sep  2 13:11:20 2014
> New Revision: 1621975
>
> URL: http://svn.apache.org/r1621975
> Log:
> According to JavaDoc javax.servlet.jsp.PageContext.include(String) and
> javax.servlet.jsp.PageContext.include(String, boolean) must throw
> IOException if I/O error occur during the operation.
> When JSPServlet init parameter "development" is "false" then IOException
> is re-thrown, but when the parameter is "true", JasperException is thrown
> instead of IOException.
> This change guarantees that IOException is always re-thrown.
>

The purpose of the JSPException is to give debug information to be able to
print out the details of the error. I am sorry Jasper will not pass the TCK
in dev mode, but likely this must remain as is. Unless you took care of
that somehow, this will likely have to be -1ed.

Rémy

Reply via email to