Wednesday, November 19, 2014

Include directive vs jsp:include action


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

Scrum and Scrum master

Scrum  Scrum is a framework which helps a team to work together.  It is like a rugby team (the scrum name comes from rugby game). Scrum enco...