JSP directives are used to set global values like class declaration, content
type etc have scope for entire JSP file.
JSP Directives are used to give special instruction to container for translation of JSP to Servlet code. JSP Directives are placed between <%@ %>. There are 3 directives that can be used in JSP listed below.
Page directive is
used to define page attributes.
This directive is used to include content of the
file in the current .jsp page.
Taglib, JSP tag extension, provides a way of
encapsulating reusable functionality on JSP page.