title: How do you iterate through a list of objects?
body: <p>I have a User class that has a String username in it. I have a list of users that I'm trying to display in a table using </p>
  
  <pre><code>                         &lt;s:iterator value="users" id="list"&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;&lt;s:property value="#list.username" /&gt;&lt;/td&gt;
                                      &lt;td&gt;&lt;/td&gt;
                                      &lt;td&gt;&lt;/td&gt;
                                      &lt;td&gt;&lt;/td&gt;
                                  &lt;/tr&gt;
                           &lt;/s:iterator&gt;
  </code></pre>
  
  <p>The rows are being displayed the right number of times, so it's iterating through my list properly. However, I don't know how to access the username property to display it. Obviously what I have above isn't correct... Any ideas?</p>