title: Spring MVC Form Tag - Radio button
body: <p>I've been trying to loop through an ArrayList of contractors and select one of them to be passed on to a Controller POST method.  I am getting nowhere.</p>
  
  <p>The following gives the error shown in the 2nd block.  I think I am not dereferncing it properly.</p>
  
  <p>I just need to pick out the loginId and pass it on to the controller.</p>
  
  <pre><code>&lt;c:forEach items="${searchResults}" var="searchResult"&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;c:out value="${searchResult.loginId}" /&gt;&lt;/td&gt;
          &lt;td&gt;&lt;c:out value="${searchResult.email}" /&gt;&lt;/td&gt;
          &lt;td&gt;&lt;c:out value="${searchResult.firstName}" /&gt;&lt;/td&gt;
          &lt;td&gt;&lt;c:out value="${searchResult.lastName}" /&gt;&lt;/td&gt;
          &lt;td&gt;&lt;form:radiobutton path="${searchResult.loginId}" value="${searchResult.loginId}"/&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>Error Message (sorry for the length).</p>
  
  <pre><code>org.apache.jasper.JasperException: org.springframework.beans.NotReadablePropertyException: Invalid property 'BC2506E93E207D1AE040700ACA2479D7' of bean class [java.util.ArrayList]: Bean property 'BC2506E93E207D1AE040700ACA2479D7' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
  </code></pre>