momo1210245571 2015-06-17 04:52 采纳率: 18.5%
浏览 1978

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>![图片说明](https://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条回答

  • 六月心悸 2015-06-17 04:58
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 MATLAB动图的问题
  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名