@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