What is a include directive in JSP?

JSPJava 8Object Oriented ProgrammingProgramming

The include directive is used to include a file during the translation phase. This directive tells the container to merge the content of other external files with the current JSP during the translation phase. You may code the include directives anywhere in your JSP page.

The general usage form of this directive is as follows −

<%@ include file = "relative url" >
Updated on 30-Jul-2019 22:30:25