Include directive is a type of directive tag. If a programmer wants to include contents of a file inside another, then the Include directive is used. The file included c an be either static ( HTML file) or dynamic (i.e., another tag file). The include directive is used to include the contents of other file in the current tag file.
<%@ include file = "xxx.html/xx.tagf"%>
<html> <body> <%@ include file="header.html" %> Today is: <%= java.util.Calendar.getInstance().getTime() %> </body> </html>