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.mock |
Mock objects of the Struts Framework.
|
org.apache.struts.upload |
The upload package facilities to upload files using
multi-part requests.
|
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 provided for use in dealing with file uploads.
|
void |
ActionServletWrapper.setServletFor(MultipartRequestHandler object)
Set servlet to a
MultipartRequestHandler . |
Modifier and Type | Class and Description |
---|---|
class |
MockMultipartRequestHandler
Mock MultipartRequestHandler object for unit tests.
|
Modifier and Type | Class and Description |
---|---|
class |
CommonsMultipartRequestHandler
This class implements the
MultipartRequestHandler
interface by providing a wrapper around the Jakarta Commons FileUpload
library. |
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.