Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2337

[upload] org.apache.struts.upload.MultipartRequestWrapper doesn't implement servlet 2.4 api fully

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.4
    • 1.2 Family
    • Core
    • None
    • Operating System: All
      Platform: All
    • 33132

    Description

      When i call request.getLocalAddr(), request.getLocalName() in action ,a
      java.lang.AbstractMethodError occurs.
      It is because client submit a Multipart form, Struts use MultipartRequestWrapper
      to wrap HttpServlietRequest and pass it in Action.execute() method.But
      org.apache.struts.upload.MultipartRequestWrapper doesn't implement new servlet
      2.4 api ....

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rocky-s@yahoo.com.tw Rocky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment