1.通过Common-fileupload实现, 需导入相关jar包 commons-fileupload, commons-io 2.配置springmvc 解析器 3.jsp页面 4.controller代码