JSP Include tag is used to include another resource in current JSP. Another resource can be either static or dynamic file.
General syntex of JSP Include Tag look like this:
Syntex: <jsp:include page="xyz" flush="true"/>
<jsp:include page="/jsp/helloWorld.jsp" flush="true"/>
<jsp:include page="/jsp/helloWorld.jsp" flush="true">
<jsp:param name="username" value="jwalant">
Explanation: As shown above, include tag in JSP has only two attributes "page" and "flush".
If the included file is statis, its content is directly added to the current JSP.
If included file is dynamic, it is first processed and result is included in the current JSP.
Once the included file is processed, the next line in current JSP starts processing.