- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is a buffer attribute in JSP?
The buffer attribute specifies the buffering characteristics for the server output response object.
You may code a value of "none" to specify no buffering so that the servlet output is immediately directed to the response object or you may code a maximum buffer size in kilobytes, which directs the servlet to write to the buffer before writing to the response object.
To direct the servlet to write the output directly to the response output object, use the following −
<%@ page buffer = "none" %>
Use the following to direct the servlet to write the output to a buffer of size not less than 8 kilobytes −
<%@ page buffer = "8kb" %>
- Related Articles
- What is autoFlush attribute in JSP?
- What is contentType attribute in JSP?
- What is errorPage attribute in JSP?
- What is isErrorPage attribute in JSP?
- What is extends attribute in JSP?
- What is import attribute in JSP?
- What is info attribute in JSP?
- What is isThreadSafe attribute in JSP?
- What is language attribute in JSP?
- What is session attribute in JSP?
- What is isELIgnored Attribute in JSP?
- What is isScriptingEnabled Attribute in JSP?
- What happens when buffer is set to a value "none" in JSP?
- What is a request object in JSP?
- What is a response object in JSP?

Advertisements