分页显示

来源:互联网 发布:淘宝上算命哪家准啊 编辑:程序博客网 时间:2024/07/13 10:51
 
<logic:present name="pages" scope="request">
                            
<tr>
                            
<bean:define id="element" name="pages" scope="request"/>
                            
<td colspan="9" height="50" style="text-align:right"><img src="images/cion_10.jpg" />&nbsp;&nbsp;&nbsp;&nbsp;
                            共有
<bean:write name="element" property="items"/>&nbsp;
                            共
<bean:write name="element" property="page_Counts"/>&nbsp;
                            第
<bean:write name="element" property="page"/>&nbsp;
                            
<bean:write name="element" property="page_Items"/>/&nbsp;&nbsp;&nbsp;&nbsp;                        
                            
<a href="userList.do?page=1">第一页</a>&nbsp;&nbsp;
                            
<a href="userList.do?page=<bean:write name="element" property="pageUp"/>">上一页</a>&nbsp;&nbsp;
                            
<a href="userList.do?page=<bean:write name="element" property="pageDown"/>">下一页</a>&nbsp;&nbsp;
                            
<a href="userList.do?page=<bean:write name="element" property="page_Counts"/>">最后一页</a>&nbsp;&nbsp;                            
                             
<select id="page" onchange="MM_jumpMenu('window',this,0)">
                                 
<option selected="selected">请选择</option>
                             
<logic:iterate id="element1" name="page" scope="request">
                                 
<option value="userList.do?page=<bean:write name="element1"/>"><bean:write name="element1"/></option>
                             
</logic:iterate>
                             
</select>&nbsp;&nbsp;&nbsp;&nbsp;
                             
<img src="images/cion_09.jpg" />
                             
</td>
                             
</tr>
              
</logic:present>