This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]