You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2021/08/20 11:06:00 UTC
[jira] [Created] (FILEUPLOAD-342) FileUploadBase should not import
HttpServletRequest
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)