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

Getting access to fileitem objects through MultiPartRequestWrapper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: