users@jersey.java.net

Re: How to use jersey client if my client is a web browser

From: Leonardo <sombriks_at_gmail.com>
Date: Fri, 19 Nov 2010 14:00:56 -0300

you can use javascript:

http://www.w3schools.com/XML/xml_http.asp

and given the correct response headers you will be able to parse the
return data as XML:

http://www.w3schools.com/XML/xml_dom.asp

2010/11/19 tie <tie_at_cisco.com>:
> Hi,
> Thanks for your time to help me. I have a simple question. Say I have a
> browser-based GUI application which will access my web service. To use
> jersey framework, how I can display the web service content in my browser,
> if the web service content response is in XML format rather than html
> format? How does web browser understand/parse XML and display the data into
> html style format like CSS etc.? Is there any example which is similar to my
> case?
> Thanks a lot.
> Jun