users@jersey.java.net

[Jersey] Pretty print Response/XML output

From: Isaac Li <tingjun.li_at_gmail.com>
Date: Tue, 27 Sep 2011 17:25:41 +0800

Hi,

I'm using Jersey storage service example which works great. Now I want to
print a pretty Response/XML for a output log.

I searched:
http://jersey.java.net/nonav/documentation/latest/user-guide.html#d4e814 and
don't know how to.

it's said there're some way for search: "java pretty print
xml<http://www.google.com.hk/search?rlz=1C1CHKZ_enCN441CN441&sourceid=chrome&ie=UTF-8&q=java+pretty+print+xml>
"

I want to know is there a easy way to achieve that in Jersey?

Thanks


Isaac