title: how to iterate Set in s:iterator in Struts 2
body: <p>I have a Set with list of objects, i want to iterate this set in s:iterator tag in struts 2 and access one of the property of Object.
  How can i achieve this?</p>
  
  <p>Sample code:</p>
  
  <pre><code>class Employee{
      String name;
      String age;
  
      ...getters and setters...
  }
  
  ...
  
  Set&lt;Employee&gt; empSet = new HashSet&lt;Employee&gt;;
  empSet.add( ...some objects)
  </code></pre>
  
  <p>In Jsp: I want to access employee name</p>
  
  <pre><code>&lt;s:iterator value = "empSet"&gt;
     &lt;property value=???(how to get employee name) &gt;
  &lt;/s:iterator&gt;
  </code></pre>
  
  <p>Thanks</p>