Once upon a time, not long after Servlet technology had emerged, file upload programming was still a challenging task that involved parsing raw HTTP responses on the server side. To alleviate the pain, developers would resort to commercial file upload components, some of which cost an arm and a leg. Fortunately, in 2003 the Apache Software Foundation released its open source Commons FileUpload component, which soon became a hit with servlet/JSP programmers worldwide.
It took years before the designers of Servlet realized that file upload was essential, but file upload was finally a built-in feature in Servlet 3.0. Developers using Servlet 3.0 or a later version do not have to import the Commons FileUpload component ...