I have a file upload solution in Struts2/spring integrated app.
I have a validation for the files the user selects. if the user selected 3 files and 1 of them fails validation, i return the user back to the same upload page.
My problem is, for the other two files that went through the file validation I cannot keep the content(file path) on postback (when i return to the upload page with error)due to security reasons for browsers.
Right now I am storing them in the session. But jvm might crash with this.
Is there a better way to implement this ??