JSP Include Directive

The include directive tells the Web Container to copy everything in the included file and paste it into current JSP file. Syntax of include directive is:


<%@ include file ="filename.jsp" %>

<html>
<body>
    <%@ include file ="header.jsp" %> //header.jsp will include into this JSP page
    <br>
    Contact Us at: We @ SILAN SOFTWARE
    %LT;br>
    <%@ include file ="footer.jsp" %> //footer.jsp file will be include into this JSP page
</body>
</html>

About the Author



Silan Software is one of the India's leading provider of offline & online training for Java, Python, AI (Machine Learning, Deep Learning), Data Science, Software Development & many more emerging Technologies.

We provide Academic Training || Industrial Training || Corporate Training || Internship || Java || Python || AI using Python || Data Science etc





 PreviousNext