I have a very simple example here. Make two jsps, for instance DemoFlush.jsp and errorProne.jsp. DemoFlush.jsp code goes like this:
Some text here
<jsp:include page="errorProne.jsp" flush="true"/>
errorProne.jsp code is like this:
When you access the page DemoFlush.jsp with flush attribute set to true, you'll be able to see the "Some text here" text. However if flush is set to false, you will get an exception. So in a way before including the page, flush attribute writes the code of the included page in the response. I hope this clears some doubts...
posted 7 years ago
Yes.I understood . Explanation was very clear.Thank you very much.
"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads