Posted On: Jan 09, 2020
The include directive is used to include file to the JSP page during translation. These files can be an HTML, JSP, or normal text files. These files are useful in creating templates for user views. It is also used to break the pages into header, footer and sidebar sections.
<%@ include file="header.jsp" %> //it includes header.jsp to the current file.
Never Miss an Articles from us.