Struts2上传大小限制

Struts中报错

the request was rejected because its size (***) exceeds the configured maximum (2097152)  

最新解决方案是在struts.xml中设置 
<constant name="struts.multipart.maxSize" value="100000000"/> 

http://bioubiou.iteye.com/blog/1596006

http://www.cnblogs.com/highriver/archive/2011/06/01/2065557.html

http://blog.csdn.net/hotjavaweb/article/details/7386971

你可能感兴趣的:(struts2)