You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ling Wu <ma...@yahoo.com> on 2004/01/02 19:43:36 UTC
FormFile NULL when uploading large file
Hi,
�
I have a problem when uploading large file using
FormFile. It works fine with modest sized file. But
when the file size goes�to 1GB, the FormFile returned
from PropertyUtils.getSimpleProperty(...) is null.
Does anyone know�the reason behind this? Is there any
file size limit with FormFile?
�
Thanks.
Ling
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: FormFile NULL when uploading large file
Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
Hi,
the default size in Class
org.apache.struts.config.ControllerConfig
is:
/**
* The maximum file size to process for file uploads.
*/
protected String maxFileSize = "250M";
perhaps in struts-config
this will help:
<controller maxFileSize="2G" />
greetings
matthias
-----Original Message-----
From: Ling Wu [mailto:marymoor02@yahoo.com]
Sent: Friday, January 02, 2004 7:44 PM
To: struts-user@jakarta.apache.org
Subject: FormFile NULL when uploading large file
Hi,
I have a problem when uploading large file using
FormFile. It works fine with modest sized file. But
when the file size goes to 1GB, the FormFile returned
from PropertyUtils.getSimpleProperty(...) is null.
Does anyone know the reason behind this? Is there any
file size limit with FormFile?
Thanks.
Ling
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org