title: How do I create a multidimensional http-post array in JSP?
body: <p>I'm trying to submit (post) a multidimensional (2D) html-form to a JSP.</p>
  
  <p>In HTML there's the following code:</p>
  
  <pre><code>&lt;tr class="odd"&gt;
      &lt;td&gt;
          &lt;input type="checkbox" name="row1['attribute']" value="Druckerei" id="attribute-1" /&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;label for="attribute-1"&gt;Druckerei&lt;/label&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;input type="text" name="row1['weight']" size="3" value="0" /&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr class="even"&gt;
      &lt;td&gt;
          &lt;input type="checkbox" name="row2['attribute']" value="Erscheinungstag" checked="checked" id="attribute-2" /&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;label for="attribute-2"&gt;Erscheinungstag&lt;/label&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;input type="text" name="row2['weight']" size="3" value="0" /&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Is there in <strong>JSP</strong> a way to handle the 2D post data (perhaps similar to PHP)?</p>
  
  <p>Would it be easier if I had different HTML-Code?</p>
  
  <p>Thank you very much!</p>