I need to send XML response from my GAE servlet.
What I already have is:
– An instance of org.w3c.dom.Document populated with data
– HttpServletResponse (that gives me either a PrintWriter or a ServletOutputStream)
If XMLSerializer were whitelisted in GAE, I could finish the work. ..but it’s not.
My question is: How to cook the food from these ingredients?
(without 3rd party libraries please)
Thanks for any hints.
Have you tried: