I need to send a string which represents a xml file to browser, I need to
call response.setContentType("text/xml").  But it is at ActionServlet level
and is default to "text/html" thus browser ignores xml tags,
"<text>long</text>" will only show "long".

I can do the output at MyAction.perform() level, but how to bypass the
return part of this method?

Thanks.

Ying

Reply via email to