---
title: "tomcat post数据大小限制"
author: "onlyOneToOne"
date: "2014-02-26T16:26:28Z"
tags: []
categories: ["编程语言"]
slug: "tomcat-post"
draft: false
lastmod: "2014-02-26T16:26:28Z"
id: 2022808
url: "https://onlyonetoone.iteye.com/blog/2022808"
---

\[size=large]用tomcat时，post传送数据大小默认为2MB, 修改方法： 在 /conf/server.xml中 中添加maxPostSize="0" 表示不限制！！！！！！！！！\[/size]