This section contains description of buffer attribute of page Directive.
This section contains description of buffer attribute of page Directive.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: