Include directive
include directive should be use to include the static contents
which is not getting changed frequently.
It includes the content at the translation time
example
<%@include file="/jsp/core/includes/common/Footer.jsp" %>
<jsp:include> action tag
include action tag is used to include the content which is getting changeg frequently
it includes the content at the runtime
example
<jsp:include page="/jsp/data/dynamic.jsp"/>
No comments:
Post a Comment