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

Exceeding struts.multipart.maxSize empties form fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2.3
    • None
    • Core Interceptors
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: