文件的上传与下载

文件的上传和下载 上传 经过表单上传文件时,注意: 1,post请求 2,输入框类型设置为file 3,把表单中属性修改 enctype=’multipart/form-data’多部件类型 该表单属性默认为 application/x-www-form-urlencoded,因此须要修改 文件上传概述: web 下载 代码展现:服务器 //文件下载 @RequestMapping("/
相关文章
相关标签/搜索