上传、下载、国际化
一、上传
1.需要注意的:
1.1 表单的method属性应该为post方法,不能用get方法
1.2 表单enctype属性应该设为multipart/from-data
1.3 表单action属性应该设为请求的servlet的路径
1.4 一次性上传多个文件需要多个name不同的“<input type=”file”>”
2.依赖的库
2.1 commons-fileupload.x.x.jar(x.x为版本号)
2.2 commons-io-x.x.jar(x.x为版本号)
3.代码
3.1 html