- 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 autoFlush attribute in JSP?
The autoFlush attribute specifies whether the buffered output should be flushed automatically when the buffer is filled, or whether an exception should be raised to indicate the buffer overflow.
A value of true (default) indicates automatic buffer flushing and a value of false throws an exception.
The following directive causes the servlet to throw an exception when the servlet's output buffer is full −
<%@ page autoFlush = "false" %>
This directive causes the servlet to flush the output buffer when full −
<%@ page autoFlush = "true" %>
Usually, the buffer and the autoFlush attributes are coded on a single page directive as follows −
<%@ page buffer = "16kb" autoflush = "true" %>
- Related Articles
- 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 is a buffer attribute in JSP?
- What do the id and scope attribute mean in the action elements in JSP?
- How can I create custom tag in JSP which can accept attribute from parent jsp page?
- What is a request object in JSP?

Advertisements