level 1
在开发springboot应用时,有多个文件要上传,现在想获取request对象后,解析request对象,但是request对象一直取不到!
类似如下:
@RequestMapping("/upload")
public void upload(HttpServeletRequest request){
}
request里取不到任何东西
2016年07月19日 09点07分
1
level 1
文件上传后台一般用MultipartFile参数类型来接收
2017年08月29日 06点08分
7
level 1
servlet3.0以后版本可以用request.getPart("photo"); 获取上传文件,你这应该不是
2017年12月20日 03点12分
8