摘要:
jsp>jspjsp中index.jsp如果用post提交给result.jsp,那么result.jsp中先设置参数编码<%request.setCharacterEncoding("gbk");%>如果在tomcat/conf/server.xml的 <Connector port="8080" protocol="HTTP/1.1" 中添加 URIEncoding="gbk" 则可以省略 request.setCharacterEncoding("gbk");jsp 阅读全文