使用getPart接收表单文件时,注意Tomcat版本要在8之上。前台 : form.jsp<%@ page contentType="texthtml;charset=UTF-8" language="