[jboss-user] [Beginners Corner] - Re: fileupload

mars1412 do-not-reply at jboss.com
Mon Feb 11 05:58:29 EST 2008

"PeterJ" wrote : What mechanism are you using for the file download?
you mean upload, do you?

"PeterJ" wrote : If I recall correctly, the apache commons file upload library provides a mechanism to query the file size before uploading the file.
well - my question is a more general one - not related to any library
I know, the apache commons file upload has a way to limit the upload size.
and also the seam s:fileUpload tag has such a setting.
but I am wondering if those settings are making any difference, because the client will always build the request and send the complete very large request to the server (consuming bandwidth), and if the server must process the complete very large request, before it knows that the file is too large, it will also consume a lot of memory and CPU.
I guess that this is the case, because the filesize is not included in any meta-data information.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128299#4128299

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128299

More information about the jboss-user mailing list