프로그램/java

tomcat utf-8 setup

mulderu 2010. 6. 13. 11:29


 <Connector port="80" protocol="HTTP/1.1" maxThreads="150" minSpareThreads="25" 
    maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" 
    debug="0" connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"
    bufferSize="2048" maxProcessors="350" minProcessors="5"/>
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />
    -->           
    <!-- Define a SSL HTTP/1.1 Connector on port 8443
         This connector uses the JSSE configuration, when using APR, the 
         connector should be using the OpenSSL style configuration
         described in the APR documentation -->
    <!--
    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" protocol="AJP/1.3" maxThreads="150" minSpareThreads="25" 
    maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" 
    debug="0" connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"
    bufferSize="2048" maxProcessors="350" minProcessors="5" proxyPort="0" scheme="http"
    secure="false" tcpNodelay="true" useURIValidationHack="false"/>