I want to get a xml response to browser, for example: I have a xml string such as: <person> <name>nick</name> <age>20</age> </person>
and I have a request such as: http://localhost:8080/person it will output the xml to browser.
Please give me some prompts.
Thanks.
I got it. It's the same as other html. Thanks.
On Tue, May 24, 2011 at 2:40 PM, Colin ge.xinying@gmail.com wrote:
I want to get a xml response to browser, for example: I have a xml string such as:
<person> <name>nick</name> <age>20</age> </person>
and I have a request such as: http://localhost:8080/person it will output the xml to browser.
Please give me some prompts.
Thanks.