FileUploadBase$SizeLimitExceededException异常

FileUploadBase$SizeLimitExceededException异常,出现缘由:在struts core文件中default.propreties设置了上传文件的最大限制。上传文件超过这个限制就会报错。xml

方法1:重写struts core中的default.propreties文件。ip

方法2:struts.xml中加入<constant name="struts.multipart.maxsize" value="上传文件限制">it

相关文章
相关标签/搜索