title: Sending additional parameter with dropzone.js
body: <p>I am trying to add dropzone.js and I'd like to pass another parameter with file, so I put hidden input in form . I can upload file and can read it in Java part but I can't read type_chooser, </p>
  
  <pre><code>  ------WebKitFormBoundaryZxF6MCYJpTOLUokN
   Content-Disposition: form-data; name="type_chooser"
  
   2
   ------WebKitFormBoundaryZxF6MCYJpTOLUokN
   Content-Disposition: form-data; name="file"; filename="isci.xlsx"
   Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  </code></pre>
  
  <p>So if I write;</p>
  
  <pre><code> request.getParameter("type_chooser");
  </code></pre>
  
  <p>I get null</p>
  
  <p>How can I get type_chooser ? </p>
  
  <p>Note : I tried ;</p>
  
  <pre><code>  dropzone.on("sending,function(file,xhr,data){
       data.append("type_chooser","1");
    });
  </code></pre>
  
  <p>This gives same output with hidden field in dropzone form, both of them are sending type_chooser but I can't read it in java</p>