users@jersey.java.net

JSON + XML : how to choose the return type ?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Wed, 1 Apr 2009 18:07:39 +0200

@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })

I know the return type depends of some parameter in the request .. but
which one ? how to choose between JSON and XML in runtime ?

may I choose this through a browser url ? or I need to create a http
request in other way ?

-- 
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces