Class FileUploadController
java.lang.Object
org.openforis.collect.web.controller.FileUploadController
Handles files upload into the "temp" folder (relative to the context path).
The files are uploaded in a subfolder named #sessionid for each http session.
- Author:
- S. Ricci
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TEMP_PATH
- See Also:
-
-
Constructor Details
-
FileUploadController
public FileUploadController()
-
-
Method Details
-
uploadFile
@RequestMapping(value="/uploadFile.htm", method=POST) @ResponseBody public String uploadFile(UploadItem uploadItem) throws IOException, SurveyImportException - Throws:
IOExceptionSurveyImportException
-