Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-342

FileUploadBase should not import HttpServletRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-M1
    • None

    Description

      FileUploadBase has few deprecated methods which use 'javax.servlet.http.HttpServletRequest`.

       

      This causes class loading problem when using the new Jakarta based `JakSrvltFileUpload.isMultipartContent(jakartaRequest)` because javax.servlet.** in not on the classpath.

       

      Would it be OK to remove the deprecated methods in 2.0 ?

      The applications should use org.apache.commons.fileupload2.servlet.ServletFileUpload#isMultipartContent() or org.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload#isMultipartContent() instead.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h