Example for difference between Include action and Include Page Directive in JSP?
|jsp:include action tag is used to include another resource such as html,jsp.
<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.
<%@include file="index.jsp"%> where index.jsp is another resource.
|By: email@example.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: firstname.lastname@example.org 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: email@example.com On: Sat Oct 12 04:37:27 EDT 2013 2 0 0||2|
|Are You Satisfied :1Yes0No|