You can obtain the MultipartRequestWrapper from the ServletActionContext or by utilizing the fileUpload
interceptor. The fileUpload
interceptor is preferred.
Note |
---|
See the file upload page for more examples and advanced configuration |
Ask the ServletActionContext
...
Code Block | ||||
---|---|---|---|---|
| ||||
public File getMyDoc() public ContentTypeString getMyDocContentType() public String getMyDocFileName() |
...