tomcat沒法接受post數據

在項目中因爲前端傳輸的圖片數據過大,後臺沒法接受post數據. 緣由: tomcat默認傳輸數據大小爲2M 嘗試方法: tomcat 配置文件 server.xml 中前端 <Connector connectionTimeout="20000" port="8086" protocol="HTTP/1.1" redirectPort="8443" maxPostSize="52428800"/>
相關文章
相關標籤/搜索