wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp:include doubt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jsp:include doubt?" Watch "jsp:include doubt?" New topic
Author

jsp:include doubt?

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

Guys,

What is the use of flush attribute in the jsp:include standard action?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

Any idea guys!
Francisco Neto
Greenhorn

Joined: Mar 29, 2007
Posts: 25
According to
"http://www-128.ibm.com/developerworks/java/library/j-jsp04293.html"

"As its name suggests, flush indicates whether any existing buffer should be flushed before reading in the included content. The flush attribute is required in JSP 1.1, so you'll get an error if you leave it out of your code. In JSP 1.2, however, the flush attribute defaults to false. Because flushing is rarely a big concern, my advice is to leave flush set to true for JSP 1.1 and leave it off for JSP 1.2 and above."
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

Ok so with the 2.0 specs of the jsp, the flush need not be explicitly used!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:include doubt?
 
Similar Threads
I need to call a HtML file in c drive from my jsp
passing parameters in jsp:include
jsp
jsp:include on exam ?
fieldset and form problem