@Controller(value="fileUploadTest")
@RequestMapping(value={"VIEW","EDIT","HELP","ABOUT"},
params="currentTest=fileUploadTest")
public class FileUploadController
extends BasePortletTest
logger| Constructor and Description |
|---|
FileUploadController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTestName() |
void |
noopAction() |
void |
simpleFileUpload(javax.portlet.PortletSession portletSession,
org.springframework.web.multipart.MultipartFile f) |
String |
viewFileUploadTest(javax.portlet.PortletSession portletSession,
org.springframework.ui.ModelMap model) |
getTestKey, setBeanNamepublic String getTestName()
@RenderMapping public String viewFileUploadTest(javax.portlet.PortletSession portletSession, org.springframework.ui.ModelMap model)
@ActionMapping public void noopAction()
@ActionMapping(value="fileUploadAction")
public void simpleFileUpload(javax.portlet.PortletSession portletSession,
@RequestParam(value="file")
org.springframework.web.multipart.MultipartFile f)
throws IOException
IOExceptionCopyright © 2016 Jasig. All Rights Reserved.