日期:2014-05-16 浏览次数:20346 次
Connector port="8080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" uRIEncoding="gbk"/>还是觉得老方法管用,只是有点麻烦:
String id=new String(request.getParameter("id").getBytes("ISO-8859-1"),"UTF-8"); String name = new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8");