See Section 2.7.1 for description of 
page_directive_attr_list
.
Example
The directive:
<%@ page info= my latest JSP Example V1.1  %>
corresponds to the XML element:
7.3.2
The 
include
 Directive
In the XML document corresponding to JSP pages, the include directive is represented using 
the syntax:
Examples
Below are two examples, one in JSP syntax, the other using XML syntax:
<%@ include file= copyright.hmtl  %>
7.3.3
The 
taglib
 Directive
In 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.
7.4
Scripting Elements
The JSP 1.1 specification has three scripting language elements declarations, scriptlets, and 
expressions. The scripting elements have a  <%  based syntax as follows:
<%! this is a declaration %> 
<% this is a scriptlet %> 
<%= this is an expression %>
Chapter 7
JSP Pages as XML Documents
126




JSP Web Hosting JavaServer Pages Specifications JSP Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.