Re: Problem with browser or Struts file upload code.

2010-12-30 Thread Anjib Mulepati
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

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
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:

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Dave Newton
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

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
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

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Paul Benedict
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

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
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

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Aaron Brown
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

Problem with browser or Struts file upload code.

2010-12-28 Thread Anjib Mulepati
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

Re: Problem with browser or Struts file upload code.

2010-12-28 Thread Dave Newton
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