1.6.4
Using XML with JSP Technology
JSP
HTTP/XML
RMI/IIOP (XML)
XML Parser
DOM
Scripts
Client
Tags
XML
Template
RMI/IIOP (XML)
HTTP/HTML &| XML
XTL/XSL
The JavaServer Pages technology is an ideal way to describe processing of XML input and
output. Simple XML generation can be done by just writing the XML as static template
portions within the JSP page. Dynamic generation will be done through JavaBeans
components, Enterprise JavaBeans components, or via custom actions that generate XML.
Similarly, input XML can be received from POST or QUERY arguments and then sent
directly to JavaBeans components, Enterprise JavaBeans components, or custom actions, or
manipulated via the scripting.
There are two attributes of the JSP technology that make it specially suited for describing
XML processing. One is that XML fragments can be described directly in the JSP page either
as templates for input into some XML consuming component, or as templates for output to
be extended with some other XML fragments. Another attribute is that the tag extension
mechanism enables the creation of specific actions and directives that are targeted at useful
XML manipulation operations.
Future versions of the JSP specification may include several standard actions that will
support XML manipulation, including the transformation of the XML produced by the given
JSP page using XTL/XSL.
31
JavaServer Pages 1.1 Specification November 30, 1999
JSP Web Hosting JavaServer Pages Specifications JSP Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |