Hello,
In JSP2.0 specification, regarding the "flush" attribute of "JSP:inlcude" action,
default flush is false.
If flush is set to true, then the buffer is flushed before the inclusion.
I am having two
jsp's test1.jsp and test2.jsp.
In test1.jsp, i am including the test2.jsp using:
hello this is test1 jsp
<jsp:include page="test2.jsp" flush="true" />
and test2.jsp is having code :
hello this is test2 jsp -------------
<%
try{
throw new Exception("SDfdsfsd");
}catch(Exception e){
throw e;
}
%>
but out put is :
hello this is test1 jsp
hello this is test2 jsp -------------
irrespective of flush attribute's value.
Please clarify doubt regarding flush attribute value.
[ January 16, 2008: Message edited by: rinki goyal ]