1.HttpServletRequest基本介绍和用法:
https://www.cnblogs.com/xdp-gacl/p/3798347.html
2.HttpServletRequest接收文件:
@RequestMapping(value="/test_http", method = RequestMethod.POST)
public Object page(HttpServletRequest request){
MultipartHttpServletRequest multipartHttpServletRequest = (MultipartHttpServletRequest) request;
List<MultipartFile> fileList = multipartHttpServletRequest.getFiles("file1");
return "success";
}