I found this question on setting the response type to json from a jsp but I'm in need of setting the response type to jsonp for cross-domain access. Would it still be this:
response.setContentType("application/javascript");
and just wrapping the response from the jsp in callbackfunction(
+ content + )
or is there something more that needs to be done?