tomcat 配置系列2

修改tomcat监听端口

    <Connector port="8080" protocol="HTTP/1.1" 

               maxThreads="150" connectionTimeout="20000"  

               redirectPort="8443" />   

 

2 修改tomcat的字符集

    <Connector port="80" protocol="HTTP/1.1"   
              maxThreads="150" connectionTimeout="20000"    
              redirectPort="8443" URIEncoding="UTF-8"/>   

 

貌似修改字符集可以直接在server.xml中配置:

 <?xml version='1.0' encoding='utf-8'?>

posted @ 2013-10-31 23:42  松鼠飞翔吧  阅读(177)  评论(0编辑  收藏  举报