I just start learning Java EE and now I try to implement to my learning project uploading files from HTML forms.
Many tutorials use to handle file uploads in Servlets by use of Commons FileUpload API. But Java 6 introduced the multipart configuration option into Servlet 3.0. Is it mean that use of Commons FileUpload is deprecated and all those tutorials are out of date?
EDIT: @Vishal answered FileUpload API is different way to handle same task.
My question now is, what advantages has one API over another?