Example for difference between Include action and Include Page Directive in JSP?

By: pank4all@gmail.com On: Tue Oct 08 01:21:24 EDT 2013     2 0 0  2
I am using Apache tomcat.2

 
jsp:include action tag is used to include another resource such as html,jsp.
Syntax:
<jsp:include page="index.jsp"> where index.jsp is some other resource.
Using include directive the original content of the resource is included in the present resource.
Syntax:
<%@include file="index.jsp"%> where index.jsp is another resource.
1

By: kumarrajat557@gmail.com On: Tue Oct 08 04:20:14 EDT 2013 0 439 0 439
Are You Satisfied :1Yes2No
 
But Both will display the same result then what is the difference?0

By: pank4all@gmail.com On: Tue Oct 08 06:16:22 EDT 2013 2 0 0 2
Are You Satisfied :1Yes1No
 
But both are giving the same result then how am i supposed to find out the difference.0

By: pank4all@gmail.com On: Sat Oct 12 04:37:27 EDT 2013 2 0 0 2
Are You Satisfied :1Yes0No


PLEASE REPLY

Please login first to post reply. Login please!