Good morning,

I have a problem of running the example:
http://www.vaannila.com/struts-2/struts-2-example/struts-2-iterator-tag-example1.html

JSP is:
<table>
 <TR class="even">
   <TD> <B>Title </B></TD>       <TD> <B>Genre </B></TD>
 </TR>

  <s:iterator value="songs" status="songStatus">
<tr class="<s:if test="#songStatus.odd == true">odd</s:if><s:else>even</s:else>">
     <td><s:property value="title" /></td>
     <td><s:property value="genre" /></td>
   </tr>
  </s:iterator>
</table>


View sources, only see:
<table>
   <TR class="even">
      <TD> <B>Title </B></TD>
      <TD> <B>Genre </B></TD>
   </TR>
</table>


Codes under iterator did not return? Could someone help?

Thanks a lot!
--
Lu Ying

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to