摘要: 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 阅读全文
posted @ 2012-09-20 22:40 SmartDog 阅读(262) 评论(0) 推荐(0) 编辑