Hi, How do I send raw xml to the client from my servlet.. I have the xml as Element, i get the servletoutputstream, set the content type as text/xml, but i see no APIs using which i can send this Element.. I would like the client to see the raw xml per se. Thank you, Shankar.
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
5
posted
0
Here's an example of how you can print the DOM object into the response stream: