I'm using Struts 1.2.4. I have an html form with a bunch of fields on it, 
including an input file field. I set the max file size in the controller in 
the struts config to 1 megabyte.

The problem I'm having is that Struts doesn't populate my action form's 
fields when I attempt to upload a file that is bigger than the specified 
max. The form validation fails, which is fine, but because the other form 
fields are not set, when the form validate method redirects back to the 
original page, all of the user's input is lost.

I want all of the data that the user entered to be preserved when the upload 
exceeds the max size. Is there any way to do this?


Thanks in advance,

-ft

Reply via email to