title: How to pass parameter in multipart post request
body: <h3>Servlet code</h3>
  
  <pre><code>request.getparameter("fname") //I can't able to get value.
  </code></pre>
  
  <h3>HTML code</h3>
  
  <pre><code> &lt;html&gt;
      &lt;head&gt;
      &lt;title&gt;File Uploading Form&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;h3&gt;File Upload:&lt;/h3&gt;
      Select a file to upload: &lt;br /&gt;
      &lt;form action="UploadServlet" method="post"
                              enctype="multipart/form-data"&gt;
      &lt;input type="text" name="fname" size="50" /&gt;   
   &lt;input type="file" name="file" size="50" /&gt;
   &lt;input type="submit" value="Upload File" /&gt;
      &lt;/form&gt;
      &lt;/body&gt;
      &lt;/html&gt;  
  </code></pre>
  
  <p>My question is : <em>How to pass <code>fname</code> parameter in multipart post request?</em></p>