title: Struts2 problem -- values in form not being displayed
body: <p>I just got help with the following Struts2 form in my JSP.  No values are being displayed.  Can anyone help?</p>
  
  <pre><code>&lt;s:iterator value="bulletins"&gt;
      &lt;s:if test="approved == false"&gt;
          &lt;s:form action="ApproveBulletin" method="post"&gt;
              &lt;table&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2"&gt;&lt;b&gt;From:&lt;/b&gt; &lt;s:property value="name" /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2"&gt;&lt;b&gt;Subject:&lt;/b&gt; &lt;s:property value="subject" /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2"&gt;&lt;b&gt;Date:&lt;/b&gt; &lt;s:property value="date" /&gt; &lt;br&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2"&gt;&lt;s:property value="note" /&gt;
                          &lt;s:hidden name="id" value="id" /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;&lt;s:submit type="button" value="approve" label="Approve"
                          action="ApproveBuletin" /&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;s:submit type="button" value="deny" label="Deny"
                          action="DenyBulletin" /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
              &lt;br /&gt;
          &lt;/s:form&gt;
      &lt;/s:if&gt;
  &lt;/s:iterator&gt;
  </code></pre>
  
  <p>This is the code from my action class that passes my iterator to my JSP.</p>
  
  <pre><code>public String execute() {
      BulletinDAO bulletinDAOInstance = new BulletinDAO();
  
      List&lt;Bulletin&gt; bulletins = bulletinDAOInstance.getAllBulletins();
      if (bulletins != null) {
          HttpSession session = (HttpSession) request.getSession();
          session.setAttribute("bulletins", bulletins.iterator());
          return "success";
      }
  
      return "failure";
  }
  </code></pre>