title: How to display a collection in a list using display tag
body: <p>ok here is the scenario i have two pojo classes 
  they are as follows </p>
  
  <pre><code>public class CodeSetting {
  
      private long codeSettingId;
      private String code;    
      private String codeDescription;
      private CodeType codeType;
      private Collection&lt;Company&gt; company = new ArrayList&lt;Company&gt;();
  
      }
  public class Company
  {
        private String comapny Name;  
  }
  </code></pre>
  
  <p>now i want to display the codesetting using the display tag codesetting and company have many to many relationship ok.</p>
  
  <p>so using display tag i can display the attributes of the codesetting by using a list of code setting object.</p>
  
  <p>but the problem comes while displaying the company </p>
  
  <p>as its also a collection it also needs to be iterated for each codesetting object but not possible using display tag tried using the iterator tag of struts2 but still no use</p>
  
  <p>i want my display to be like this</p>
  
  <p>code   codetype    company</p>
  
  <p>M      marriage    abc,bca</p>
  
  <p>if anyone came across the scenario and solved the problem do guide me through it would be very helpful .thanks in advance</p>