Wednesday, 7 August 2013

how i can return json in rest web service developed in java

how i can return json in rest web service developed in java

From the server I am sending just normal JSON data, but on client I am
expecting JSONP. The response from server is not JSONP and browser does
throw exception as syntax is wrong.
can somebody explain me how i have to do this using java
mi web service is the type restful

No comments:

Post a Comment