output xml

2003-09-16 Thread Morten Andersen
Is it possible to output xml from a struts application without using xls transformations? How is this done? What I need is something, that makes it possible for the browser to see, that it is a xml document and not a html document that it is reading. (Content-type setting) I have tryed

Re: output xml

2003-09-16 Thread Adam Hardy
On 09/16/2003 10:12 AM Morten Andersen wrote: Is it possible to output xml from a struts application without using xls transformations? How is this done? What I need is something, that makes it possible for the browser to see, that it is a xml document and not a html document that it is reading

output xml file

2001-05-31 Thread Wu, Ying (LNG-CIS)
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. 1. Any idea? 2. I can do the output at MyAction.perform(, request, response, ) level, but how to handle the return type

RE: output xml file

2001-05-31 Thread Deadman, Hal
If the perform method handles the response output, just return null. -Original Message- From: Wu, Ying (LNG-CIS) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 4:15 PM To: '[EMAIL PROTECTED]' Subject: output xml file I need to send a string which represents a xml file