Package | Description |
---|---|
org.apache.struts.action |
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
|
org.apache.struts.upload |
The upload package facilities to upload files using
multi-part requests.
|
org.apache.struts.util |
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
|
Modifier and Type | Field and Description |
---|---|
protected MultipartRequestHandler |
ActionForm.multipartRequestHandler
The MultipartRequestHandler for this form, can be
null . |
Modifier and Type | Method and Description |
---|---|
MultipartRequestHandler |
ActionForm.getMultipartRequestHandler()
Return the
MultipartRequestHandler for this form
The reasoning behind this is to give form bean developers
control over the lifecycle of their multipart requests
through the use of the finish and/or rollback
methods of MultipartRequestHandler . |
Modifier and Type | Method and Description |
---|---|
void |
ActionForm.setMultipartRequestHandler(MultipartRequestHandler multipartRequestHandler)
Set the Handler provides to use in dealing with file uploads.
|
void |
ActionServletWrapper.setServletFor(MultipartRequestHandler object)
Set servlet to a
MultipartRequestHandler . |
Modifier and Type | Class and Description |
---|---|
class |
CommonsMultipartRequestHandler
This class implements the
MultipartRequestHandler interface
by providing a wrapper around the Jakarta Commons FileUpload library. |
class |
DiskMultipartRequestHandler
Deprecated.
Use the Commons FileUpload based multipart handler instead. This
class will be removed after Struts 1.2.
|
Modifier and Type | Method and Description |
---|---|
private static MultipartRequestHandler |
RequestUtils.getMultipartHandler(javax.servlet.http.HttpServletRequest request)
Try to locate a multipart request handler for this request.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.Map |
RequestUtils.getAllParametersForMultipartRequest(javax.servlet.http.HttpServletRequest request,
MultipartRequestHandler multipartHandler)
Create a
Map containing all of the parameters supplied for a multipart
request, keyed by parameter name. |
Copyright ? 2000-2014 - The Apache Software Foundation