Hi
I have a code
case:1 with <
jsp:forward>
-------------------------
<%
out.println("Before forward/include");
out.flush();
%>
<jsp:forward page="test.html" />
<%
out.println("After forward/include");
%>
a)Container throws Exception
b)output displayed => Before forward/include.
case2:: <jsp:include>
------
<%
out.println("Before forward/include");
out.flush();
%>
<jsp:include page="test.html" />
<%
out.println("After forward/include");
%>
a)container will not throw exception
b)it will deisplay
Before forward/include
include test.html
After forward/include
It means in <jsp:include> if we commit the response and then we will include then it doesn't make difference.
Please correct me if i'm wrong ???
sanjay