如何在 Struts 2 中处理自定义拦截器执行?
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException:
the request was rejected because its size (337867) exceeds the configured
maximum (200)
最佳答案
设置此常量以增加请求限制
<constant name="struts.multipart.maxSize" value="1000000" />
Please remember that the struts.multipart.maxSize is the size limit of the whole request, which means when you uploading multiple files, the sum of their size must be below the struts.multipart.maxSize!
关于java - FileUploadBase$SizeLimitExceededException : the request was rejected because its size (337867) exceeds the configured maximum (200),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23428877/