摘要: 1,针对get方式的请求:在tomcat下的conf/server.xml配置下的<connector>中添加URIEncoding="UTF-8"; 2.分别在request和response对象,设置请求和响应编码格式:request.setcharacterEncoding("UTF-8")和 阅读全文
posted @ 2018-09-06 20:35 勤劳的猪猪 阅读(175) 评论(0) 推荐(0) 编辑