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/10/03 23:38:45 UTC

DO NOT REPLY [Bug 13264] New: - JspWriter.clear()/clearBuffer() don't reset the remaining buffer size as returned by JspWriter.getRemaining().

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=13264>.
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=13264

JspWriter.clear()/clearBuffer() don't reset the remaining buffer size as returned by JspWriter.getRemaining().

           Summary: JspWriter.clear()/clearBuffer() don't reset the
                    remaining buffer size as returned by
                    JspWriter.getRemaining().
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM


Given a buffer of say, the default of 8KB, and one writes the the buffer.
A call to out.getRemaining() will return a size less than 8KB.  
Next call out.clear() or out.clearBuffer(), and then call
JspWriter.getRemaining().  The buffer size isn't reset to 8KB.

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