java 向jsp页面写数据的时候出现乱码
response.setContentType("text/plain; charset=utf-8"); PrintWriter pw = response.getWriter();
response.setContentType一定要放在response.getWriter()的前边。
posted on 2013-06-26 16:16 passer1991 阅读(131) 评论(0) 编辑 收藏 举报
response.setContentType("text/plain; charset=utf-8"); PrintWriter pw = response.getWriter();
response.setContentType一定要放在response.getWriter()的前边。
posted on 2013-06-26 16:16 passer1991 阅读(131) 评论(0) 编辑 收藏 举报