You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/03/09 23:29:24 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler JspParseEventListener.java
costin 01/03/09 14:29:24
Modified: src/share/org/apache/jasper/compiler
JspParseEventListener.java
Log:
The previous patch had another change, the flushBuffer() fix.
Added few comments and commited again, to have a separate message for it.
Revision Changes Path
1.24 +2 -0 jakarta-tomcat/src/share/org/apache/jasper/compiler/JspParseEventListener.java
Index: JspParseEventListener.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspParseEventListener.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- JspParseEventListener.java 2001/03/09 22:26:13 1.23
+++ JspParseEventListener.java 2001/03/09 22:29:23 1.24
@@ -356,6 +356,8 @@
/* Do stuff here for finally actions... */
//writer.println("out.close();");
+ // Use flush buffer ( which just empty JspWriterImpl buffer )
+ // instead of commiting the response.
writer.println("if (out instanceof org.apache.jasper.runtime.JspWriterImpl) { ");
writer.println(" ((org.apache.jasper.runtime.JspWriterImpl)out).flushBuffer();");
writer.println("}");
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-dev-help@jakarta.apache.org