How use buffer attribute in the page directive?
The buffer size in kilobytes used by the out object to handle output sent from the compiled JSP page to the client Web browser. The default value is 8kb. If you specify a buffer size, the output is buffered with at least the size you specified.
<%@ page buffer="none | 8kb | sizekb" %>