mirror of
https://github.com/apache/struts.git
synced 2026-08-05 22:56:59 +00:00
WN-5141
- more removals for "pell multipart"
This commit is contained in:
@@ -169,10 +169,6 @@
|
||||
<directory>../plugins/oval/target/apidocs</directory>
|
||||
<outputDirectory>docs/struts2-plugins/struts2-oval-plugin/apidocs</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../plugins/pell-multipart/target/apidocs</directory>
|
||||
<outputDirectory>docs/struts2-plugins/struts2-pell-multipart-plugin/apidocs</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../plugins/plexus/target/apidocs</directory>
|
||||
<outputDirectory>docs/struts2-plugins/struts2-plexus-plugin/apidocs</outputDirectory>
|
||||
|
||||
@@ -104,10 +104,6 @@
|
||||
<directory>../plugins/oval/target/apidocs</directory>
|
||||
<outputDirectory>docs/struts2-plugins/struts2-oval-plugin/apidocs</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../plugins/pell-multipart/target/apidocs</directory>
|
||||
<outputDirectory>docs/struts2-plugins/struts2-pell-multipart-plugin/apidocs</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../plugins/plexus/target/apidocs</directory>
|
||||
<outputDirectory>docs/struts2-plugins/struts2-plexus-plugin/apidocs</outputDirectory>
|
||||
|
||||
@@ -18,15 +18,14 @@
|
||||
*/
|
||||
package org.apache.struts2.dispatcher.multipart;
|
||||
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.struts2.dispatcher.LocalizedMessage;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Enumeration;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.struts2.dispatcher.LocalizedMessage;
|
||||
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* <p>Abstract wrapper class HTTP requests to handle multi-part data. </p>
|
||||
*/
|
||||
@@ -105,7 +104,7 @@ public interface MultiPartRequest {
|
||||
/**
|
||||
* Returns a list of error messages that may have occurred while processing the request.
|
||||
* If there are no errors, an empty list is returned. If the underlying implementation
|
||||
* (ie: pell, cos, jakarta, etc) cannot support providing these errors, an empty list is
|
||||
* (ie: cos, jakarta, etc) cannot support providing these errors, an empty list is
|
||||
* also returned. This list of errors is reported back to the
|
||||
* {@link MultiPartRequestWrapper}'s errors field.
|
||||
*
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ import java.util.*;
|
||||
*
|
||||
* <p>
|
||||
* The <tt>struts.multipart.parser</tt> property should be set to <tt>jakarta</tt> for the
|
||||
* Jakarta implementation, <tt>pell</tt> for the Pell implementation and <tt>cos</tt> for the Jason Hunter
|
||||
* Jakarta implementation, and <tt>cos</tt> for the Jason Hunter
|
||||
* implementation.
|
||||
* </p>
|
||||
*
|
||||
|
||||
@@ -62,7 +62,6 @@ struts.objectFactory.spring.enableAopSupport = false
|
||||
|
||||
### Parser to handle HTTP POST requests, encoded using the MIME-type multipart/form-data
|
||||
# struts.multipart.parser=cos
|
||||
# struts.multipart.parser=pell
|
||||
# struts.multipart.parser=jakarta-stream
|
||||
struts.multipart.parser=jakarta
|
||||
### Uses jakarta.servlet.context.tempdir by default
|
||||
|
||||
Reference in New Issue
Block a user