title: retrieve multiple inputs of the same name from jsp to struts
body: <p>I would like to ask how to retrieve the values of the same name in a jsp form inside a loop to the Action class in struts without using the request.getParameterValues("screenName") when I click the SAVE button using the ACtionForm. </p>
  
  <p>Here is the sample jsp code that I would like to retrieve the name "screenName" from the  inside the loop:</p>
  
  <pre><code>           &lt;form action="EditScreeningServlet" method="post"&gt;
                  &lt;input type = "hidden" name ="applicantNumber" value="${infoObj.applicantNumber}"  &gt;
                  &lt;table&gt;
                      &lt;c:forEach var="screen" items="${screenList}"&gt;
                          &lt;input type = "hidden" name ="screenId" value="${screen.screenId}"  &gt;
                         &lt;tr&gt;
                             &lt;td&gt;Screen Type: &amp;nbsp&lt;/td&gt;       &lt;td&gt;*&lt;input type="text" value="${screen.screenName}" name="screenName" readonly ="true"&gt;*&lt;/td&gt;
                         &lt;/tr&gt;
                         &lt;tr&gt;
                             &lt;td&gt;Date: &lt;/td&gt;                   &lt;td&gt;&lt;input type="text" value="${screen.screenDate}" name="screenDate" class="date"&gt;&lt;/td&gt;
                         &lt;/tr&gt;
                         &lt;tr&gt; 
                             &lt;td&gt;Result: &lt;/td&gt;               
                             &lt;td&gt;
                                  &lt;select name = screenResult&gt; 
                                      &lt;option value="Pass" ${screen.screenResult == 'Pass' ? 'selected' : ''}&gt;Pass&lt;/option&gt;
                                      &lt;option value="Fail" ${screen.screenResult == 'Fail' ? 'selected' : ''}&gt;Fail&lt;/option&gt;
                                      &lt;option value="" ${screen.screenResult == '' ? 'selected' : ''}&gt;&lt;/option&gt;
                                  &lt;/select&gt;   
                             &lt;/td&gt;
                         &lt;/tr&gt;
                          &lt;tr&gt;&lt;td&gt;&amp;nbsp&lt;/td&gt;&lt;td&gt; &amp;nbsp&lt;/td&gt;&lt;/tr&gt;
  
  
                      &lt;/c:forEach&gt;
                  &lt;/table&gt;
  
                  &lt;input type="submit" class="saveButton" value="SAVE"&gt;
              &lt;/form&gt;
  </code></pre>