I don't have session timeout problem and no error in the log itself.
Also memory space is enough to load 2.5 GB file.
I did put some log info inside form validation(), getter and setter
methods. After that i can see that validation(), getter and setter
method is called several times with null
I could not figure out where and what changes I have to make.
I try with simple app with following code:
1. JSP File
-
html:form styleId=uploadForm action=/upload
focus=transactionName method=post enctype=multipart/form-data
div id=errorPlace style=font-weight: bold; color:
The short answer is that you ignored everything I just said and didn't look
at the Tomcat and/or commons docs I referred to, which is where I'd start.
IIRC this is not configurable within Struts 1 itself, but I also haven't
used it for several years now.
Dave
On Dec 29, 2010 8:49 AM, Anjib
1. Find that we can change the max file upload size in struts-config file
http://struts.apache.org/1.x/userGuide/configuration.html
So set to 3GB.
controller bufferSize=4194304
processorClass=org.apache.struts.tiles.TilesRequestProcessor
maxFileSize=3G/
2. Also in tomcat we can set
I believe uploading up to 2GB is supported by Struts 1. It relies on Commons
FileUpload which has this limitation for older implementations.
On Wed, Dec 29, 2010 at 10:24 AM, Anjib Mulepati anji...@hotmail.comwrote:
1. Find that we can change the max file upload size in struts-config file
Yes in this dummy program I can upload 1.5 GB file so 2MB may be the
upper limit.
Now in real app what can be the reason for getting text field value null
even I have enter something while uploading larger file. I can get the
value while working with smaller file.
Any idea?
Anjib
On
Have you investigated other issues outside the web application?
1) Does the server have enough room in the temp space where the file
is saved while it is being uploaded? Most web servers will store the
in-progress upload in a temporary default location, and will then copy
the file to the final
I am writing an app to upload file using Struts 1.3.8.
It works fine if I upload small file. But when I try to upload
lager(200MB) file it doesn't response correctly.
For larger file my form validation get null for all field even I have
value in it.
This is happening to all browser IE,FF and
Both commons-fileupload and Tomcat usually have a maximum file upload size;
configure one or both.
Dave
On Dec 28, 2010 2:30 PM, Anjib Mulepati anji...@hotmail.com wrote:
I am writing an app to upload file using Struts 1.3.8.
It works fine if I upload small file. But when I try to upload
9 matches
Mail list logo