You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/03/04 19:55:27 UTC

DO NOT REPLY [Bug 6196] - should trigger IllegalStateException when buffer flushed

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6196>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6196

<jsp:forward> should trigger IllegalStateException when buffer flushed

kin-man.chung@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From kin-man.chung@sun.com  2002-03-04 18:55 -------
I tried your two line program and actually got a nice error message:

java.io.IOException: Error: Attempt to clear a buffer that's already been
flushed
        at org.apache.jasper.runtime.JspWriterImpl.clear(JspWriterImpl.java:180)
        at org.apache.jsp.b6196$jsp._jspService(b6196$jsp.java:67)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
...

The exception came from from the statement "out.clear();" which was generated
before the actual forward action.

I am using the nightly build of the head branch.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>