Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Senguttuvan Paramasivam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Example, <jsp:include page="/home.jsp" flush="true"/>
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic