From: Vlad S. <vl...@us...> - 2005-11-02 22:43:24
|
Update of /cvsroot/jtidy/jtidyservlet/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2984/xdocs Modified Files: filter.xml Log Message: New filter params isCommittedFix and defferedStreamClose Index: filter.xml =================================================================== RCS file: /cvsroot/jtidy/jtidyservlet/xdocs/filter.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- filter.xml 25 Oct 2004 19:13:22 -0000 1.2 +++ filter.xml 2 Nov 2005 22:43:16 -0000 1.3 @@ -96,6 +96,14 @@ <param-name>doubleValidation</param-name> <param-value>false</param-value> </init-param> + <init-param> + <param-name>defferedStreamClose</param-name> + <param-value>false</param-value> + </init-param> + <init-param> + <param-name>isCommittedFix</param-name> + <param-value>false</param-value> + </init-param> </filter> ... </web-app> @@ -148,6 +156,23 @@ <td>Custom properties file path. See: <a href="./configuration.html">Configuration</a> </td> </tr> + <tr> + <td>defferedStreamClose</td> + <td>false</td> + <td>true, false</td> + <td> + Do not close BufferedServletOutputStream to avoid java.io.IOException: Stream closed after RequestProcessor.doForward + </td> + </tr> + <tr> + <td>isCommittedFix</td> + <td>false</td> + <td>true, false</td> + <td> + An exception is thrown when using JTidyFilter with a JSP that has a dynamic include which points to a Struts action that forwards to a Tiles definition. + The fix is to override isCommitted() in BufferedServletResponse, to make sure this method correctly reports the "committed" status with our custom output stream + </td> + </tr> </tbody> </table> |