[xsl] Re: xsl StreamSource for servlet

Subject: [xsl] Re: xsl StreamSource for servlet
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Thu, 19 Jul 2001 12:53:50 -0700
nevermind, I found my error...
----- Original Message -----
From: "Robert Koberg" <rob@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, July 19, 2001 11:05 AM
Subject: xsl StreamSource for servlet


> Is the following possible (I can't get it to work yet...)? - Is there a
> better way?
>
> Given a J2EE compliant web container (resin 2.01), I have a startup
servlet
> (starts up when the webapp starts) that creates a StreamSource for an XSL
> file (has many includes) from the filesystem and sets it as a context
> attribute.
>
> Then when someone logs into the webapp, the login servlet gets the xsl
> StreamSource attribute and sends it as an argument to a class that does
the
> transformation. I am also sending in the XML StreamSource and the
> PrintWriter out (which is converted to a StreamResult in the accepting
> class).
>
> Should this work?
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread