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

Getting access to fileitem objects through MultiPartRequestWrapper

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.5.x
    • Component/s: None
    • Labels:
      None

      Description

      Can you please change the MultiPartRequestWrapper, and the
      JakartaMultiPartRequest, adding a new method? The signature should be:

      public List<FileItem> getFileItems(String)

      Our action ancestor class needs to get access to the "files" properties of JakartaMultiPartRequest through the MultiPartRequestWrapper. Otherwise we need to code something similar to what is done by the FileUploadInterceptor.intercept and create again the fileitem needed by our application code.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fmunafo Filippo Munafò
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: