A directive in a JSP page is of the form: <%@ directive { attr="value" }* %> Most directives get translated into an element of the form: <jsp:directive.directive { attr="value" }* /> JSP.7.3.1 The page DirectiveIn the XML document corresponding to JSP pages, the page directive is represented using the syntax: <jsp:directive.page page_directive_attr_list /> See Section JSP.2.7.1 for description of page_directive_attr_list. ExampleThe directive: <%@ page info="my latest JSP Example V1.1" %> corresponds to the XML element: <jsp:directive.page info="my latest JSP Example V1.1" /> JSP.7.3.2 The include DirectiveIn the XML document corresponding to JSP pages, the include directive is represented using the syntax: <jsp:directive.include file=" relativeURLspec " flush="truefalse" /> ExamplesBelow are two examples, one in JSP syntax, the other using XML syntax: <%@ include file="copyright.hmtl" %> <jsp:directive.include file="htmldocs/logo.html" /> JSP.7.3.3 The taglib DirectiveIn the XML document corresponding to JSP pages, the taglib directive is represented as an xmlns: attribute within the root element of the JSP page document. |