title: Problem setting back indexed properties from JSP to action class
body: <p>We are working with struts 2.0.14 and facing problem setting back indexed properties from JSP to action class.</p>
  
  <p>Code looks similar to this.     </p>
  
  <pre><code>  public class MyExample extends ActionSupport
          {
  
              private List&lt;Person&gt; persons;
              private List&lt;String&gt; names;
  
              public String execute()
              {
                  //persons = myDAO.readPersons(names);
                  return SUCCESS;
              }
  
              public String update()
              {
                  for (Person p : persons)
                  {
                      System.out.println(p.getName() + "---" + p.getAddress().getStreet());
                  }
                  return SUCCESS;
              }
  
              // Getters and setters     
          }
  
          class Person
          {
              private Address address;
              private String name;
               // Getters and setters    
          }
  
          class Address
          {
              private String street;
              private String number;   
               // Getters and setters    
          }
  
     And JSP:
         &lt;%@ taglib prefix="s" uri="/struts-tags"%&gt;
         &lt;%@ page language="java" pageEncoding="ISO-8859-1"%&gt;
         &lt;!---- Other code ----&gt;
         &lt;s:ieterate value="persons" status="status"&gt;
          &lt;tr&gt;
            &lt;s:textfield name="person['%{#status.index}'].name"/&gt;
            &lt;s:textfield name="person['%{#status.index}'].address.number"/&gt;
             &lt;s:textfield name="person['%{#status.index}'].street"/&gt;
          &lt;/tr&gt;
  </code></pre>
  
  <p>I could successfully display values onto the page, but when i submit the form the values are not getting populated. 
  I checked firebug to see how the parameters are posted and they are like person['0'].name, person['0'].address.number etc., Please let me know where the mistake lies.</p>