response.setCharacterEncoding("gb2312"); 在Servlet2.3中是不行的,至少要2.4版本才可以,如果低于2.4版本,可以用如下办法:
response.setContentType("text/html;charset=gb2312");
转载于:https://www.cnblogs.com/adrianlamo/p/3401310.html
response.setCharacterEncoding("gb2312"); 在Servlet2.3中是不行的,至少要2.4版本才可以,如果低于2.4版本,可以用如下办法:
response.setContentType("text/html;charset=gb2312");
转载于:https://www.cnblogs.com/adrianlamo/p/3401310.html