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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -