开发者

Apache commons Fileupload vs Tomcat.util.http.fileupload

I saw these two libraries can help me to upload file to the webserver. I end up using Apache commons lib but开发者_Go百科 was wondering whether they provide some advantage over each other or they are just two different implementation to do the same job. Further , we have the options available in easy form if we are using servlet 3.0 through request.getParts().

Thanks and Regards Surya


I would recommend sticking to the Apache Commons API to keep the code independent from the server it's deployed on. Starting with Tomcat 7 the servlet 3.0 API is the way to go.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜