This approach requires below two jar files to be added in WEB-INF/lib directory of web application.(You candownload these jar files from )ī) Servlet 3.0 API - Servlet 3.0Specification provided additional support for uploading files to server and we donot have to include any third party APIs. There are two ways to upload a file to serverĪ) Using third party Jar File – Apache provides a convenient and powerful API to upload the files on server. The browser associates a Browse button with each of them. If we need to upload multiple files uploading, we need to include more than one input tags with different values for the name attribute.
This attribute informs the server that file is uploaded.