for 循环

 for(int i=0;i<billSumList.size();i++){

  Object[] ob=(Object[])billSumList.get(i);

  if(ob[0]!=null)

  e.setCell(0, ob[0].toString());  

<s:iterator value="billSumList" var="bill" status="billStatus">  

   <TR bgcolor="#ffffff">

     <TD align="center"  class="STYLE10"><s:property value="#bill[0]"/><br></TD>                      

     <TD align="center"  class="STYLE10"><s:property value="#bill[1]"/><br></TD>

     <TD align="center"  class="STYLE10"><s:property value="#bill[2]"/><br></TD>

     <TD align="center" class="STYLE10"><s:property value="#bill[3]"/><br></TD>

     <TD align="center" class="STYLE10"><s:property value="#bill[4]"/></TD>

     <TD align="center" class="STYLE10"><s:property value="#bill[5]"/><br></TD>

     <TD align="center" class="STYLE10"><s:property value="#bill[6]"/><br></TD>

     <TD align="center" class="STYLE10"><s:property value="#bill[7]"/></TD>

     

   </TR>

</s:iterator>

你可能感兴趣的:(for)