tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt, Oliver" <Oliver.K...@opendata.de>
Subject AW: JSP Buffer overflow error
Date Mon, 26 Feb 2001 13:00:24 GMT
at the page directive you have

autoFlush="false" (not the default)

and the buffer="8kb" (the default) is too low !!! 
So you generate more html code ( more bytes ) than it fits into the tomcat
"page buffer" and because of you disabled autoFlush tomcat isn't allowed to
write the buffer to the client and afterwards generate more html code.

set buffer higher, e.g.:

buffer="64kb" (for example) 

or autoFlush="true"


-----Urspr√ľngliche Nachricht-----
Von: Grzegorz Skorupa [mailto:gs@pikosoft.z.pl]
Gesendet: Montag, 26. Februar 2001 12:24
An: tomcat-user@jakarta.apache.org
Betreff: JSP Buffer overflow error


Hello,

I have Tomcat 3.2.1 installed. JSP including <select> with many <options> 
inside couses an error:

java.io.IOException: Error: JSP Buffer overflow at 
org.apache.jasper.runtime.JspWriterImpl.bufferOverflow(JspWriterImpl.java:19
6)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:371)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:381)
at org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:512)

Does anyone could help?
TIA

Grzegorz

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message