标签:
$.ajax({
url:"url",
data:{Value:value},
dataType:"text",
success:function(data){}
})
JsonArray rejs = JsonArray.fromObject();
request.setCharacterEncoding("utf-8"); //这里不设置编码会有乱码
response.setContentType("text/html;charset=utf-8");
response.setHeader("Cache-Control", "no-cache");
PrintWriter out = response.getWriter();
out.print(rejs.toString());
out.close();
试验可以成功!!
标签:
原文地址:http://www.cnblogs.com/hahaxiaoyu/p/5126454.html