<%@ include file="header.jsp" %> Only the content of a page is unique. The same header and footer are reused from header.jsp and footer.jsp by means of the include directive <%@ include file="footer.jsp" %>