A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

What is JSP Directives?

JSP Directives:

A JSP directive affects the overall structure of the servlet class. It usually has the following form:<%@ directive attribute="value" %>

There are three types of directive tag:

<%@ page ... %>
Defines page-dependent attributes, such as scripting language, error page, and buffering requirements.
<%@ include ... %>
Includes a file during the translation phase.
<%@ taglib ... %>
Declares a tag library, containing custom actions, used in the page
We would explain JSP directive in separate chapter