2 momo1210245571 momo1210245571 于 2015.06.17 12:52 提问

jQuery怎么实现分页 导入插件怎么用呀

已经将数据从数据库中读出绑定上去啦

 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <s:head/>
    <base href="<%=basePath%>" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="media/image/favicon.ico" />
    <title>![图片说明](http://img.ask.csdn.net/upload/201506/17/1434516755_898164.jpg)</title>
    <script type="text/javascript" src="media/js/jquery-1.10.1.min.js"></script>
</head>
<body class="page-header-fixed page-footer-fixed">

            <table class="table table-striped table-bordered table-hover dataTable">
             <tr>
                 <td>角色编号</td>
                 <td>角色名称</td>
                 <td>角色描述</td>
             </tr>

                <s:iterator value="modelList" status="item">    
                  <tr>
                     <td><s:property value="rid     "/></td> 
                     <td><s:property value="rtitle"/></td>
                     <td><s:property value="rdesc"/></td> 
                  </tr>    
                 </s:iterator> 
         </table>
     </div>
</body>
</html>

2个回答

u013147600
u013147600   2015.06.17 12:58
cuiwei1026522829
cuiwei1026522829   Ds   Rxr 2015.06.17 23:59

分页插件?上网百度一下用法啊,亲!!,我第一次用的时候也是找的文章做的,

Csdn user default icon
上传中...
上传图片
插入图片