|Re: check size and format before FileUpload [message #1490144 is a reply to message #1485411]
||Fri, 28 November 2014 00:38
| David Lee
Registered: May 2013
Thank you, I tried setFileSizeMax and it works, but a little pessimistic because users still have to wait until uploading proceeds and fails, if it stops in the very beginning of uploading, could be better, that can reduce server loading and boost efficiency!
Uploading seems to be processed inside org.apache.commons.fileupload.servlet.ServletFileUpload, is it possible to show a message when file size exceeded ? if yes, how or where to put the message code?
[Updated on: Fri, 28 November 2014 02:26]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02344 seconds