POST請求數據量過大,後端請求獲取參數爲null

String xxxxx = request.getParameter("xxxx"); //此值爲前端js獲取的文件的Base64字符串,經過post請求提交至後臺  當文件小於2M時,一切正常,當文件大於2M時,request拿不到參數,都爲null.  開始分析問題緣由:     1.post請求正常不會限制數據大小,排除。     2.tomcat的server.xml有maxPostSi
相關文章
相關標籤/搜索