文件的上传和下载
上传
通过表单上传文件时,注意:
1,post请求
2,输入框类型设置为file
3,把表单中属性修改 enctype=’multipart/form-data’多部件类型
该表单属性默认为 application/x-www-form-urlencoded,所以需要修改
文件上传概述:
下载
文件的上传和下载
上传
通过表单上传文件时,注意:
1,post请求
2,输入框类型设置为file
3,把表单中属性修改 enctype=’multipart/form-data’多部件类型
该表单属性默认为 application/x-www-form-urlencoded,所以需要修改
文件上传概述:
下载