ajax上传文件(javaweb)

前台:FormData,     formData.append("fileName",$("#file")[0].files[0];);

https://www.cnblogs.com/cckui/p/9887550.html

后台:MultipartHttpServletRequest .getFile("fileName")

https://blog.csdn.net/weixin_41162263/article/details/81208948

posted @ 2019-09-16 11:01  借我两块买雪糕  阅读(635)  评论(0编辑  收藏  举报