blueimp/jQuery-File-Upload — Issue #830: Integration with Spring
Author: abhinavm
Created: 2011-12-01 15:02:21+00:00
State: open

I want to use it with Spring MVC but having problem with integration I am not able to get the posted file data in the backend. Can you post sample code sample.
Below is the code that I am using:

@RequestMapping(value = "/uploadAttachment", method = RequestMethod.POST)
public List> handleUpload( @RequestParam("fileToUpload") CommonsMultipartFile uploadFile, ServletResponse response){
System.out.println("Inside the handler.");
//Code to save the file on file system.

}