tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6196] - <jsp:forward> should trigger IllegalStateException when buffer flushed
Date Mon, 04 Mar 2002 18:55:27 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message