response.getWriter()输出的是中文,在js或jsp中得到的是乱码
如题解决办法之一:
在
response.getWriter() 上边加上
response.setContentType("text/html; charset=utf-8"); 最终:
response.setContentType("text/html; charset=utf-8");response.getWriter()........
页:
[1]