On Tue, 14 May 2002 [EMAIL PROTECTED] wrote:
> Date: Tue, 14 May 2002 10:13:00 -0500
> From: [EMAIL PROTECTED]
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RE: xml-xslt v jsp
>
> I aggree that it's very difficult to debug and is non-portable, but our
> experience was that we could never find a server environment with
> adequate performance. The performance issue outweighed the portability
> and support issues for us. Of course, we're talking about an intranet
> application where we had pretty good control over the browser
> environment. That's the only case I would recommend that.
>
For those interested in using XML and XSLT processing, here are a couple
of technologies you might want to take a look at:
* The latest version of JAXP (1.2) supports a new mode for XSLT
stylesheets that causes the transformation to be converted into
a Java class that is then auto-compiled (much like JSP pages are).
For repeated use of the same transform, this can make a huge
difference in performance. JAXP/1.2 is available as part of either
the Java and XML Pack, or the Java Web Services Developer Pack
<http://java.sun.com/webservices>.
* The JSP Standard Tag Library (JSTL) contains a rich set of XML
manipulation tags for doing server-side XML processing within
JSP pages. This supports an approach for using existing Struts tags
(or the JSTL tags) to interact with your data model, and the JSP page
to provide the "container" for the dynamically assembled XML output.
JSTL requires a servlet 2.3 / JSP 1.2 container, however.
> Greg
>
Craig McClanahan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>