Prashanth.S wrote:
Hi all,
Is there any limit on the size of the file to be uploaded when i use struts...
Iam using FormFile interface for struts upload...
Is  there  any limit on the size of the file that is being uploaded...Iam getting 
error when i am uploading large files even though iam not using any validations...
Waiting for reply
Thanking you
Prashanth

Don't know about the TomCat capacity with file-uploads, but you must define the upload-buffer size within the <controler> Tag in your struts-config XML.


The Struts docu says:

'maxFileSize - The maximum size (in bytes) of a file to be accepted as a file upload. Can be expressed as a number followed by a "K", "M", or "G", which are interpreted to mean kilobytes, megabytes, or gigabytes, respectively. [250M] (optional)'

So if not set, the upload should be limited to 250 MBytes.

Regards

Markus



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to