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

    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

        1. ASF.LICENSE.NOT.GRANTED--Multipart23-A.txt
          19 kB
          Niall Pemberton
        2. ASF.LICENSE.NOT.GRANTED--Multipart23-B.txt
          0.8 kB
          Niall Pemberton

        Activity

          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: