title: How can my Servlet receive parameters from a multipart/form-data form?
body: <p>I have a page that has this piece of code:</p>
  
  <pre><code>&lt;form action="Servlet" enctype="multipart/form-data"&gt;
  &lt;input type="file" name="file"&gt;
  &lt;input type="text" name="text1"&gt;
  &lt;input type="text" name="text2"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When I use <code>request.getParameter("text1");</code> in my Servlet it shows null. How can I make my Servlet receive the parameters?</p>