Home Tutorial Jsp Page Directive attribute - buffer

 
 

Page Directive attribute - buffer
Posted on: November 26, 2012 at 12:00 AM
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:

Related Tags for Page Directive attribute - buffer:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.