title: how to pass text value along with multiple file upload form
body: <p>I am having one file upload form which uploads multiple files.
  Right now I have hard coded the folder name in which the uploaded file is to be stored.</p>
  
  <p>But what I need is at the time of upload the form should also send folder name which will be created on the server to store uploaded files.</p>
  
  <p>This is my form </p>
  
  <pre><code> &lt;form action="uploadprocess.jsp" method="post" enctype="multipart/form-data" name="form1" id="form1"&gt;
  &lt;input name="file" type="file" id="file"&gt;
  &lt;input name="file" type="file" id="file"&gt;
  
  &lt;input name="foldername" type="hidden"&gt; &lt;!-- i will set folder name during run time --&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I am getting null when I use <code>request.getParameter("foldername")</code></p>