I want to create a form with two textfields and one fileupload. How can I handle the textfields in my Servlet? It doesn't work with request.getParameter("user")
.
Here is my form:
<form action="FileUpload" method="post" enctype="multipart/form-data">
<p><input type="text" name="user" id="user"/></p>
<p><input type="password" name="password" id="password"/></p>
<p><input type="file" name="file" size="50"/>
<p><input type="submit" value="Senden"/></p>
</form>
Thanks for your help