Three directives page directive, taglib directive,include directive
The page directive
<%@ page import=”foo.*” session=”false” %>
Defines page-specific properties such as character encoding, the
content type for this page’s response, and whether this page should
have the implicit session object. A page directive can use up to
thirteen different attributes (like the import attribute).
The taglib directive
<%@ taglib tagdir=”/WEB-INF/tags/cool” prefix=”cool” %>
Defines tag libraries available to the JSP.
The include directive
<%@ include file=”wickedHeader.html” %>
Defines text and code that gets added into the current page
at translation time. This lets you build reusable chunks (like a
standard page heading or navigation bar) that can be added to
each page without having to duplicate all that code in each JSP.
<%@ page import=”foo.*” session=”false” %>
Defines page-specific properties such as character encoding, the
content type for this page’s response, and whether this page should
have the implicit session object. A page directive can use up to
thirteen different attributes (like the import attribute).
The taglib directive
<%@ taglib tagdir=”/WEB-INF/tags/cool” prefix=”cool” %>
Defines tag libraries available to the JSP.
The include directive
<%@ include file=”wickedHeader.html” %>
Defines text and code that gets added into the current page
at translation time. This lets you build reusable chunks (like a
standard page heading or navigation bar) that can be added to
each page without having to duplicate all that code in each JSP.