Java POST and GET arrays
<p>Let's assume I have a form with these fields (HTML)</p>

<pre><code>&lt;input type="text" name="user[name]" value="name"/&gt;
&lt;input type="text" name="user[email]" value="email"/&gt;
&lt;input type="text" name="user[age]" value="age"/&gt;
</code></pre>

<p>how do I get this information inside a java Servlet? </p>

<p>In php it is just </p>

<pre><code>      $_POST["user"]["name"]
</code></pre>

<p>or </p>

<pre><code>      $_GET["user"]["name"]
</code></pre>

<p>I am not referring at simple field like</p>

<pre><code>      &lt;input type="text" name="user" value="jimmy"/&gt;
</code></pre>

<p>I am referring at retrieving arrays of data, like in the case of a set of checkboxes or a multiple select.</p>
