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:
To support cross-domain access in javascript you can use
$.support.cors = true;
Other than that you can set content-type to application/javascript for jsonp.