在server.xml中类似如下配置:

   < Connector port="8080" maxThreads="150" minSpareThreads="25" 
maxSpareThreads="75" enableLookups="false" redirectPort="8443" 
acceptCount="100" debug="0" connectionTimeout="20000" 
disableUploadTimeout="true" URIEncoding="UTF-8" / >

   其中关键是 URIEncoding="UTF-8" 这项,其含义是指定URI的编码为:UTF-8

posted on 2015-03-03 19:27  keitho00  阅读(135)  评论(0编辑  收藏  举报