I am using a jsp which contain file uploading and form input datas. When submitting the form i didn't get form data's in the servlet. In jsp i use

"<meta http-equiv="content-type" content="text/html; charset=UTF-8">"
<form name="myform" action="Upload" method="post" enctype="multipart/form-data" onsubmit="return validate()">

But after submitting i am getting field values as null in servlet. I use request.getParameter("field name") in servlet.

Can anybody please help me in solving this issue. I need to get field values in servlet as well as uploading the file also.