后台是用PrintWriter out = response.getWriter();然后out.write("数据");的吗?如果是的话,在取得out之前加上response.setCharacterEncoding("utf-8");就应该可以了
解决了 谢谢