Martin Tzvetanov Grigorov created FILEUPLOAD-342:
----------------------------------------------------

             Summary: FileUploadBase should not import HttpServletRequest
                 Key: FILEUPLOAD-342
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-342
             Project: Commons FileUpload
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Martin Tzvetanov Grigorov


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to