tomcat and resin 统一的路径转码

RT

tomcat的天天用,如下
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector port="80" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>


resin的则如下:

<web-app-default>
      <character-encoding>UTF-8</character-encoding>
      
    </web-app-default>



你可能感兴趣的:(tomcat)