Include Directive -
Include directives is used for include any static JSP or HTML file in the JSP page.
Syntax of Include Directives :-
<%@ include file=”relative Path” %>
<HEAD><title>Example Include Directive</title>
<%@ include file="/second.jsp" %>
More about :-
Include directive works at compilation time of JSP. It statically include JSP or HTML file. Mean content of included file written in the main servlet.
The included file might be open and available to all requests, or it might have security restrictions. The JSP page might be recompiled if the included file changes.