aspose file tools*
The moose likes JSP and the fly likes What is the use of having flush= tag in jsp?" title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "What is the use of having flush="true" in <jsp:include> tag in jsp?" Watch "What is the use of having flush="true" in <jsp:include> tag in jsp?" New topic
Author

What is the use of having flush="true" in <jsp:include> tag in jsp?

Senguttuvan Paramasivam
Greenhorn

Joined: Feb 20, 2010
Posts: 7
For Example, <jsp:include page="/home.jsp" flush="true"/>
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

From http://java.sun.com/products/jsp/syntax/1.2/syntaxref1214.html:

flush="true | false"

If the page output is buffered and the flush attribute is given a true value, the buffer is flushed prior to the inclusion, otherwise the buffer is not flushed. The default value for the flush attribute is false.

Senguttuvan Paramasivam
Greenhorn

Joined: Feb 20, 2010
Posts: 7
David Newton wrote:From http://java.sun.com/products/jsp/syntax/1.2/syntaxref1214.html:

flush="true | false"

If the page output is buffered and the flush attribute is given a true value, the buffer is flushed prior to the inclusion, otherwise the buffer is not flushed. The default value for the flush attribute is false.




Hi,

Thanks for your information.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is the use of having flush="true" in <jsp:include> tag in jsp?