# What happens when buffer is set to a value "none" in JSP?

JSPJava 8Object Oriented ProgrammingProgramming

The buffer attribute specifies the buffering characteristics for the server output response object.

You may code 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" %>
Updated on 30-Jul-2019 22:30:25