tomcat中server.xml设置
<Connector port="8088" protocol="HTTP/1.1"
connectionTimeout="20000" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" acceptCount="100"
redirectPort="8443" URIEncoding="UTF-8" useBodyEncodingForURI="true"/>
String http = "http://" + request.getServerName() + ":" + request.getServerPort() + "/attach/infoattach/";
response.setContentType("application/download;CHARSET=utf8");
response.setHeader("Content-Disposition","attachment; filename="+java.net.URLEncoder.encode(new String(zipFile.getBytes("GBK")),"utf-8"));
response.sendRedirect(http+ia_path+"/"+ java.net.URLEncoder.encode(new String(zipFile.getBytes("GBK")),"utf-8"));%>