Managing file uploads in JSP/Servlets

微笑、不失礼 提交于 2019-12-01 00:36:27

The Apache commons FileUpload is probably the best way if you are using pure JSP and servlets. If you use a framework like struts2 you will have some more options since they have file upload components built in and are very easy to use.

The Servlet API has no way to extract the file from the POST (PUT?) data.

Just like Vincent said, Apache commons FileUpload is the best free way to do this.

You might also consider using a signed applet if you don't want to use the Apache libs.

you can use OReilly’s COS library . refer this link!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!