Setting response as text/xml

Posted by Leon Torres-2 on
URL: http://ofbiz.116.s1.nabble.com/Setting-response-as-text-xml-tp169697.html

How do I set the response to text/xml in the controller?  I'm trying to get Ajax
to receive an XML document, which requires the response be mime type text/xml.

An alternative would be to use a toolkit's text -> dom converter, but that's iffy.

- Leon