# 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" >
Published on 20-Mar-2019 12:42:30
Advertisements