tomcat没法接受post数据

在项目中因为前端传输的图片数据过大,后台没法接受post数据. 缘由: tomcat默认传输数据大小为2M 尝试方法: tomcat 配置文件 server.xml 中前端 <Connector connectionTimeout="20000" port="8086" protocol="HTTP/1.1" redirectPort="8443" maxPostSize="52428800"/>
相关文章
相关标签/搜索