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.
posted 12 years ago
Here's an example of how you can print the DOM object into the response stream: