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

Possible error in response wrapper implementation

           Summary: Possible error in response wrapper implementation
           Product: Tomcat 5
           Version: 5.0.12
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Hi,
I have implemented a servlet response wrapper that has its own 
ServletOutputStream implementation. This ServletOutputStream implementation 
stores all data received by its methods (print(*),write(*),println()...) in a 
CharArrayWriter. When a JSP writes content over 8kb, the servlet implementation 
calls the method write(byte[] b, int off, int len) in the ServletOutputStream 
with off=8192 and b.length=8192, thus it fails.
I have changed the JSP buffer size to 16kb and occurs the same error with the 
same index (8192).
I think that it is an error of the response wrapper implementation.

Thanks and regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to