O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Directives

Directives are elements that are interpreted by the preprocessing of the page; they are processed before the JSP page (or resulting servlet page) is executed at runtime. Associated with a directive can be a number of attribute/value pairs. The syntax for directives is as follows.

<%@ directive_name attr1="value" attr2="value" ... %>

Table 28-3 lists the directives available in JSP version 1.2.

Table 28-3. JSP Directives
DirectiveDescription
pageInformation about the JSP page that is visible to the user; can provide basic information about the page, the error page to use, whether or not the page is thread-safe, and other information.
includeInclude text (not necessarily a JSP page) into the current page. In JSP 1.2, two mechanisms are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required