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>



猜你喜欢

转载自zwllxs.iteye.com/blog/1134820