when i set the enctype="multipart/form-data" and method="post" and this form contain two input text type fields along with the file.
<form enctype="multipart/form-data" method="post">
<input type="text" name="f1">
<input type="text" name="f2">
<input type="file" >
</form>
When i collect the data from request in
servlet like this..
String name=request.getParameter("f1");
The output is null..
but i set the method="get"
then i get the text field value.
So how can i get text field value using method="post" enctype="multipart/form-data"
request.getParameter("f1");