configure the maximum limit in struts controller controller processorClass="your class" nocache="true" locale="true" contentType="text/html;charset=UTF-8" **maxFileSize="15G"/**
When you are using apache.commons.fileuploa-1.1 there is a constraint that FileUpload refuses parsing requests of unknown length. In the succeeding version stream has been introduced to overcome the size issue. Below issues were reported in apache.commons.fileupload in 1.2 & 1.3 1. After uploading, temp file is not removed 2. Input stream is not closed which leads to memleak. REF: refuses parsing request of unknown lenght Memleak when stream is not closed. Memleak -- View this message in context: http://struts.1045723.n5.nabble.com/FileUploadBase-UnknownSizeException-the-request-was-rejected-because-its-size-is-unknown-tp5716405p5716414.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org