[jdom-interest] JDOM, Xalan and Servlets

Lorenzo Gonzalez lgonzale at covisint.com
Tue Oct 17 11:56:33 PDT 2000


Ana,

I don't think the list is too interested in this, as JDOM is just a minor
'transport' component in your proposed system.  However, I'll be happy to
help you outside of the list with this issue, as I've just completed a
project doing just what you're working on...

Lorenzo

-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Ana Paula Fernandes
Sent: Tuesday, October 17, 2000 9:26 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] JDOM, Xalan and Servlets


Hello,

I am looking for some help to output a servlet response to the browser
that contains HTML generated through an XML transformation. I have a
class called XML_Formatter that is supposed to read XML strings,  build
a JDOM document, use Xalan XSLT processor (process the document applying
a stylesheet to it) and give this result back to the servlet response to
output it to the browser. It seems quite simple as the source code
actually is, but I just dont seem to be able to get anything in the
browser at all. I'm using threads and PipedInput/Output Streams to pass
the JDOM document back and forth through the XSL processor. So how can I
send my outputstream to the servlet response ? How do I print an
outputstream (PipedOutputStream in this case) ? Do I need to rebuild a
JDOM document after I have my xml doc. transformed ? Is there another
solution to combine JDOM with Xalan and Servlets without
PipedInput/OutputStreams and threads ? I am willing to send the source
code to anyone who can help me to figure this out.

Thank you,

Ana Paula Fernandes
Health Systems Information Services
University of Alabama in Birmingham
email: afernandes at ws.uabmc.edu
phone: (205) 975-5447

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list