title: JSP form:checkbox into a c:foreach
body: <p>Similar problems are invoked in many posts in this forum; but no one has a solution that specific one, I thank you for helping me in this :</p>
  
  <p>I'm using spring to develop a web application,
  I don't know what I should put in the path of the form:checkbox tag which inside the c:foreach one, here is my code : </p>
  
  <pre><code>&lt;c:forEach items="${persons}" var="person" varStatus="i"&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;c:out value="${person.firstName}" /&gt;&lt;/td&gt;
          &lt;td&gt;&lt;c:out value="${person.lastName}" /&gt;&lt;/td&gt; 
          &lt;td&gt;&lt;form:checkbox path="person.rights" value="Download"/&gt;Download &lt;/td&gt;
          &lt;td&gt;&lt;form:checkbox path="person.rights" value="Delete"/&gt;Delete &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>'<code>rights</code>' is a list of Strings as it defined in the spring documentation, it has a getter and a setter like the other properties, my checkboxes work outside the <code>c:foreach</code> tag, but when including them into this tag this exception is generated :</p>
  
  <pre><code>org.springframework.beans.NotReadablePropertyException: Invalid property 'person' of bean class [java.util.ArrayList]: Bean property 'person' 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>
  
  <p>do you have an idea about what the problem is ??</p>