File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: What is the use of having flush="true" in <jsp:include> tag in jsp?