前段
$.getJSON(urll,{ids:ids},function(json){alert(json);});});
strues
[code="java"]
response.setContentType("application/x-javascript;");
JSONObject fromObject = JSONObject.fromObject(userManagerUtil.getUserInfo("1"));
PrintWriter writer = response.getWriter();
System.out.println(fromObject);
fromObject.write(writer);
writer.close();
return null;
[/code]
火狐可以执行回调,但ie没反应,也不报错,费解