HTTP Status 400 - Required MultipartFile parameter 'file' is not present
这个主要原因来自与配置不匹配:
页面为:<input name="fileName" type="file" class="filePath" style="display:none"/>
controller 为:
public String icon_upload(Map<String, Object> map,@RequestParam("file") MultipartFile file) throws Exception {
}
这个主要原因来自与配置不匹配:
页面为:<input name="fileName" type="file" class="filePath" style="display:none"/>
controller 为:
public String icon_upload(Map<String, Object> map,@RequestParam("file") MultipartFile file) throws Exception {
}