摘要: 在后台系统中对图片进行上传,图片路径已存入数据库,但在查询时图片并未展示出来,检查发现服务器并没有接收到此图片,后来发现图片大小为4.6MB,超过tomcat对http的post请求默认接收大小2M的限制。报错! 解决的方案: 修改tomcat安装目录下的配置文件tomcat../conf/serv 阅读全文
posted @ 2020-02-24 16:52 Tester_Jhm 阅读(5448) 评论(0) 推荐(0)
摘要: 异常原因: 通过post上传文件过大时,会出现413错误码;前端打开开发者模式,在输出台的位置会出现: <span style="color:#ff0000;">Failed to load resource: the server responded with a status of 413 (R 阅读全文
posted @ 2020-02-24 16:34 Tester_Jhm 阅读(35073) 评论(0) 推荐(0)