A.request.setCharacterEncoding("gb2312");
B.type = new String(type.getBytes("ISO8859-1"), "GB2312");
C.在Tomcat的配置文件Server.xml中的Connector标签中加入“URIEncoding=UTF-8”属性;
D.conf\web.xml 指定多个Encoding参数;
E.编写一个filter,处理Post提交的编码问题;
A.request.setCharacterEncoding("gb2312");
B.type = new String(type.getBytes("ISO8859-1"), "GB2312");
C.在Tomcat的配置文件Server.xml中的Connector标签中加入“URIEncoding=UTF-8”属性;
D.conf\web.xml 指定多个Encoding参数;
E.编写一个filter,处理Post提交的编码问题;