Home Tutorial Jsp Page Directive attribute - buffer

 
 

Share on Google+Share on Google+
Page Directive attribute - buffer
Posted on: November 26, 2012 at 12:00 AM
Advertisement
This section contains description of buffer attribute of page Directive.

Page Directive attribute - buffer

This section contains description of buffer attribute of page Directive.

buffer Attribute :

This attribute is used for specifying the buffer size for the output stream. Buffer size is specified in kilobytes for the server output response object. If you put its value none then there is no buffering and the output is written immediately by PrintWriter. By default its value is 8KB.

Example :

<html>
<body>
<%@page buffer="16kb" %>
<b>Date :</b> <%= new java.util.Date() %>
</body>
</html>

Output:

Advertisement

Related Tags for Page Directive attribute - buffer:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 26, 2012

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com