Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Practical Settings for buffer and autoFlush

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
Hello,

What can you advise as to practical settings for:
<%@ page buffer="n" %>
<%@ page autoflush="[true|false]" %>

Being new to JSP I am trying to understand the real world purpose for these.


Thanks,

Michael42
 
I wouldn't bother setting these attributes - the defaults are fine. If you set the buffer to a certain size, and set flush to off, then your JSP's will throw an exception, so I would never set the buffer to no autoflush - just let the basic output stream handle this.

In reality, setting the buffer size in these days of high speed connections etc is near enough pointless.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top