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

Refactor file upload support to allow create virtual representation of java.io.File

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.5
    • Fix Version/s: 2.5.8
    • Component/s: Core
    • Labels:
      None

      Description

      Right now file upload logic is using java.io.File directly to represent uploaded files but access to this class is restricted in some cloud environments e.g. Google AppEngine

        Issue Links

          Activity

          Hide
          lukaszlenart Lukasz Lenart added a comment -

          PR got merged

          Show
          lukaszlenart Lukasz Lenart added a comment - PR got merged
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit ae5605ff8872daa08f12c84fb7a2b30f5f57e8ea in struts's branch refs/heads/master from Lukasz Lenart
          [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=ae5605f ]

          Merge branch 'master' into WW-4717

          Show
          jira-bot ASF subversion and git services added a comment - Commit ae5605ff8872daa08f12c84fb7a2b30f5f57e8ea in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=ae5605f ] Merge branch 'master' into WW-4717
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/struts/pull/114

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/struts/pull/114
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user lukaszlenart opened a pull request:

          https://github.com/apache/struts/pull/114

          Virtual file representation

          WW-4717 adds virtual file representation to allow implement `MultiPartRequest` on Google AppEngine

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/lukaszlenart/struts WW-4717

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/struts/pull/114.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #114


          commit fe05ca20951ecda86e147dbf5272709412df820d
          Author: Lukasz Lenart <lukaszlenart@apache.org>
          Date: 2016-11-21T10:04:24Z

          Introduces a dedicated class to represent an uploaded file

          commit 45edbcbe45d303240af998687387d12a9e15733e
          Author: Lukasz Lenart <lukaszlenart@apache.org>
          Date: 2016-11-21T10:05:33Z

          Uses the new class in implementation of MultiPartRequest

          commit 407cd58279c61a8c9487aae3e42a99fcfe8352b9
          Author: Lukasz Lenart <lukaszlenart@apache.org>
          Date: 2016-11-21T10:05:47Z

          Adjusts interceptor to use the new class

          commit dca41a39bf61917def9288e0436b8ccff410dd31
          Author: Lukasz Lenart <lukaszlenart@apache.org>
          Date: 2016-11-21T10:05:56Z

          Updates examples


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user lukaszlenart opened a pull request: https://github.com/apache/struts/pull/114 Virtual file representation WW-4717 adds virtual file representation to allow implement `MultiPartRequest` on Google AppEngine You can merge this pull request into a Git repository by running: $ git pull https://github.com/lukaszlenart/struts WW-4717 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/struts/pull/114.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #114 commit fe05ca20951ecda86e147dbf5272709412df820d Author: Lukasz Lenart <lukaszlenart@apache.org> Date: 2016-11-21T10:04:24Z Introduces a dedicated class to represent an uploaded file commit 45edbcbe45d303240af998687387d12a9e15733e Author: Lukasz Lenart <lukaszlenart@apache.org> Date: 2016-11-21T10:05:33Z Uses the new class in implementation of MultiPartRequest commit 407cd58279c61a8c9487aae3e42a99fcfe8352b9 Author: Lukasz Lenart <lukaszlenart@apache.org> Date: 2016-11-21T10:05:47Z Adjusts interceptor to use the new class commit dca41a39bf61917def9288e0436b8ccff410dd31 Author: Lukasz Lenart <lukaszlenart@apache.org> Date: 2016-11-21T10:05:56Z Updates examples

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              lukaszlenart Lukasz Lenart
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development