based on the framework of DUBBO,SSM and easyui, I wrote a function of uploading pictures, uploading and sharing music, and now I can"t get that file
tomcat
<form id="upload_form" enctype="multipart/form-data" action="/shop/upload_deal" method="post">
<input class="easyui-filebox" style="width:300px" data-options="onChange:change_photo" type="file" id="file_upload" name="file"/><br/>
<input type="submit" value="" /> <br/>
</form>
String filePath = request.getSession().getServletContext()
.getRealPath("/") + "upload/" + multipartFilefile.getOriginalFilename();
System.out.println(filePath);
File saveDir = new File(filePath);
ImageUtils.ImageUpload(saveDir);//File
did I write something wrong, or I would like to ask where I put the picture when I submitted the picture and passed it to controller from the front end?