Parse a multipart request and provide a wrapper around the request. The parsing implementation used depends on the
struts.multipart.parser setting. It should be set to a class which extends {@link org.apache.struts2.dispatcher.multipart.MultiPartRequest}.
The
struts.multipart.parser property should be set to
jakarta for the Jakarta implementation,
pell for the Pell implementation and
cos for the Jason Hunter implementation.
The files are uploaded when the object is instantiated. If there are any errors they are logged using {@link #addError(String)}. An action handling a multipart form should first check {@link #hasErrors()}before doing any other processing.
An alternate implementation, PellMultiPartRequest, is provided as a plugin.