Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3665

Exceeding struts.multipart.maxSize empties form fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.2.3
    • Fix Version/s: None
    • Component/s: Core Interceptors
    • Labels:
      None
    • Environment:

      Struts 2.2.3 on JBoss 6.

      Page having a form with some common fields and <input type="file" .../>.

      Description

      Having a form with file upload capability (even with multiple files) and exceeding the size specified in struts.multipart.maxSize causes the Interceptor (FileUploadInterceptor) to throw an exception that returns to the view page losing the form fields.
      This is very annoying for usability standards and prevents a correct error management.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lilos Fabio Fucci
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: