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


from server sending normal json data, on client expecting jsonp. response server not jsonp , browser throw exception syntax wrong.

can explain me how have using java

mi web service type restful

if client expects jsonp, that's server needs send. how have server send jsonp depends on type of server use. if use jersey example, can use answer question: returning jsonp jersey


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -