Question and answer is powered by AnsPress.io
How can I upload files to server using JSP/Servlet?
Try this:
<form action="upload" method="post" enctype="multipart/form-data"> <input type="text" name="description" /> <input type="file" name="file" /> <input type="submit" /> </form>