113

servlet3.0文件上传-奔跑吧爽爽的博客

 6 years ago
source link: http://blog.51cto.com/13579086/2083445
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1.浏览器端:选择图片、提交表单,同时将图片发送给服务器<formaction=””method=”post”enctype=”multipart/form-data”><inputtype=”file”name=”image”><inputtype=”submit”>上传的内容,都在请求体中。2.服务器端:1)手动获得请求体,需要手动解析。request.ge

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK