Directives in a JSP Page

What is Directives in a JSP Page?


Directives or directive tag in JSP is used to provide a directive or an instruction about the JSP page. This directive may be a page level directive or it may be about a tag library or to include other files or resources. Directive tag often decides the way JSP Engine processes a JSP page.

Directive tag can be classified into three categories Page Directive, Include directive and Taglib Directive.
Directives Syntax
Page Directive <%@page.........%>
Include Directive <%@include......%>
Taglib Directive <%@taglib........%>

Ask Questions

Ask Question