$.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();

 

试验可以成功!!