Directive Tags
Directive include/Static include tag
Standard syn
- <%@include file="..."%>
Xml syn
- <jsp:directive.include file="...">
-->This tag is given to include content/code of given destination file or component to the JES class code of source jsp page
-->Here there is no separate execution for B.jsp ,but it's code will be included to the JES class code of source page A.jsp
A.jsp
- <b>from A.jsp(start)</b>
- <%@include file="B.jsp"%>
- <b>end of jsp</b>
B.jsp
- <b>from B.jsp</b>
- <%=new java.util.Date()%>
- <br>end
JspApp6-DirectiveInclude
|-->webContent
|-->A.jsp
|-->B.jsp
Comments
Post a Comment
Express your feelings