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.
Directive | Description |
---|---|
page | Information 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. |
include | Include text (not necessarily a JSP page) into the current page. In JSP 1.2, two mechanisms are ... |
Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.