---
title: "Tomcat 设置编码"
author: "winhack"
date: "2011-12-16T16:11:02Z"
tags: []
categories: ["企业架构"]
slug: "tomcat"
draft: false
lastmod: "2011-12-16T16:11:02Z"
id: 1313846
url: "https://winhack.iteye.com/blog/1313846"
---

conf\\server.xml:

 

    &lt;Connector port="8080" maxHttpHeaderSize="8192"  
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"  
               enableLookups="false" redirectPort="8443" acceptCount="100"  
               connectionTimeout="20000" disableUploadTimeout="true" **URIEncoding="utf-8"** /&gt;