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
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 des
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 12/
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 wrote:
> 1. Find that we can change the max file upload size in struts-config file
>
> http://struts.apach
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.
processorClass="org.apache.struts.tiles.TilesRequestProcessor"
maxFileSize="3G"/>
2. Also in tomcat we can set maxPostSize
http://tomcat.apache.
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 Mule
I could not figure out where and what changes I have to make.
I try with simple app with following code:
1. JSP File
-
focus="transactionName" method="post" enctype="multipart/form-data" >
aria-labelledby="errors" aria-live="assertive">
key="transfer.name"/>
property="trans_name" tab
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" 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
> lager(>200MB) fil
8 matches
Mail list logo