response.setCharacterEncoding("utf-8");
用上面的出现乱码?尝尝下面的代码,放置于servlet方法中的前两行
request.setCharacterEncoding("utf-8");
response.setContentType("text/html;charset=utf-8");
response.setCharacterEncoding("utf-8");
用上面的出现乱码?尝尝下面的代码,放置于servlet方法中的前两行
request.setCharacterEncoding("utf-8");
response.setContentType("text/html;charset=utf-8");