此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【frank1197】截止到2008-07-29 12:00:49的历史汇总数据(不包括此帖):
发帖的总数量:15                       发帖的总分数:260                      每贴平均分数:17                       
回帖的总数量:14                       得分贴总数量:0                        回帖的得分率:0%                       
结贴的总数量:9                        结贴的总分数:140                      
无满意结贴数:2                        无满意结贴分:40                       
未结的帖子数:6                        未结的总分数:120                      
结贴的百分比:60.00 %               结分的百分比:53.85 %                  
无满意结贴率:22.22 %               无满意结分率:28.57 %                  
楼主加油

解决方案 »

  1.   

    <% 
    Vector animals = new Vector(); 
    animals.addElement("Dog"); 
    animals.addElement("Cat"); 
    animals.addElement("Bird"); 
    animals.addElement("Chick"); 
    request.setAttribute("Animals", animals); 
    %> 
    <logic:iterate id="element" name="Animals"> 
    <bean:write name="element"/><br> 
    </logic:iterate> 
      

  2.   

    <logic:iterate id="aList" name="YourForm" property="YourDataList" indexId="indexId" length="20" offset="0">                       offset指定从list的那个元素开始,length指定从list中取得多少个元素
      

  3.   

    给你看个实例,自己钻研下
    <logic:notEmpty name="OutListForm" property="list">
    <logic:iterate name="OutListForm" property="list" id="vo"
    type="com.neusoft.wms.outwarehouse.outlist.form.OutListMovementForm">
    <%index++; %>
    <tr> <td nowrap=true  class=singleDetailData width="25">
    <input type="checkbox" name='chk'
    value='<bean:write name="vo" property="rowId"/>'
    id='<bean:write name="vo" property="rowId"/>' />
    </td>
    <td nowrap=true  class=singleDetailData width="">
    <bean:write name="vo" property="billNo" />
    </td>
    <td nowrap=true  class=singleDetailData width="">
    <bean:write name="vo" property="originNo" />
    </td>
    <td nowrap=true  class=singleDetailData width="">
    <bean:write name="vo" property="businessDate" />
    </td>
    <td nowrap=true  class=singleDetailData width="">
    <bean:write name="vo" property="lovName" />
    </td>
    <td nowrap=true  class=singleDetailData width="">
    <input type="hidden" name="mainstatus[<%=index%>]" id="mainstatus[<%=index%>]" value='<bean:write name="vo" property="status" />'/>
    <span id="status[<%=index%>]"></span>
    <script language="javascript">
    <!--
            var status = '<bean:write name="vo" property="status" />';
    var transferstatus =( status == '0' ? "初始" : 
    (status == '1' ? "已下架":"已记账"));
    document.getElementById("status[<%=index%>]").innerHTML=transferstatus;
    -->
       </script>
    </td>
    <td nowrap=true  class=singleDetailData width="" align="right">
    <bean:write name="vo" property="totalQty"/>
    </td>
    </tr>
    </logic:iterate>
    </logic:notEmpty>估计你看的懂
      

  4.   

    用logic:iterate 里的 length offset属性来实现
      

  5.   

     加这两个属性:length="20" offset="0"  offset是设置开始的位置(“0”表示第一条),你也可以设置成其他地方开始
      

  6.   

    <logic:notEmpty name="lstPaper" scope="request"> 
    <logic:iterate id="paperManage" name="lstPaper" type="cn.ujn.lunwen.manager.PaperManage" scope="request"> 
       <tr>
       <td>
       <bean:write name="paperManage" property="lwzwmc" scope="page"/>
       </td>
       <td>
       <bean:write name="paperManage" property="kwmc" scope="page"/>
       </td>
       <td align="center">
       <bean:write name="paperManage" property="fbrq" scope="page"/>
       </td>
       <td align="center">
       院[<bean:write name="paperManage" property="checka" scope="page"/>]
       校[<bean:write name="paperManage" property="checkb" scope="page"/>]
       </td>
       <td> 
       [<a href="/lunwen/paperMng.do?method=goModifyPaperPage&PaperNo=${paperManage.lwbh}&UserId=${rybh}" target="mainFrame">修改</a>]
    [<a href="/lunwen/paperMng.do?method=goDeletePaperPage&PaperNo=${paperManage.lwbh}&UserId=${rybh}" target="mainFrame">删除</a>]
       </td>
       </tr>
       </logic:iterate> 
    </logic:notEmpty>