December 2003
Intermediate to advanced
764 pages
24h 58m
English
Directive elements are used to specify information about the page itself, especially information that doesn’t differ between requests for the page. The classic general directive syntax is:
<%@directiveNameattr1="value1"attr2="value2" %>
The following XML equivalent syntax must be used in a JSP Document (a JSP page written in XML syntax) and can optionally be used as an alternative to the classic syntax in a regular JSP page:
<jsp:directive.directiveNameattr1="value1"attr2="value2" />
Only the classic syntax is shown in the detailed sections that follow.
The attribute values can be enclosed with single quotes instead of double quotes. The directive name and all attribute names are case-sensitive.
Read now
Unlock full access