I have done a lot of cross referencing on this but I don't understand where am I going wrong. I'm using this code while uploading a file. I could upload a file successfully but getParameter() is returning null all the time.
HTML code:
 <form action="uploadingservlet" method="post"
                    enctype="multipart/form-data">
  <input type="text" name="propername" >
  <input type="file" name="file"  >
   <input type="submit" value="Upload File" />
  </form>
Servlet code:
    public class uploadingservlet extends HttpServlet{
    public void doPost(HttpServletRequest request, 
           HttpServletResponse response)
          throws ServletException,IOException {
   isMultipart = ServletFileUpload.isMultipartContent(request);
   fname=request.getParameter("propername");
...
 
     
    