Jquery Datatable 分页问题

Datatable 我在后台已经传回 iDisplayStart iDisplayLength sEcho
等参数都已经以JSON形式返回
但是 前台分页 页码只显示第一页
aaData难道只能查询全部数据 在前台分页么?

你往后台传送分页的参数,然后去拼SQL语句查询

String iDisplayStart = request.getParameter("iDisplayStart");
String iDisplayLength = request.getParameter("iDisplayLength");
String sEcho = request.getParameter("sEcho");

    Map<String, Object> mapparam = new HashMap<String, Object>();
    Map<String, Object> param = new HashMap<String, Object>();
    int count = r10Service.pageCount(param);
    System.out.println(iDisplayStart);
    System.out.println(iDisplayLength);
    System.out.println(sEcho);
    mapparam.put("start", iDisplayStart);
    mapparam.put("limit", iDisplayLength);


    List<Map<String, Object>> r10list = this.r10Service.findpage(mapparam);


    return MsgForAjax.sendSuccData(r10list, count,Integer.parseInt(iDisplayLength), sEcho);

    我的分页是通过Spring拦截器配置的 每次根据 iDisplayLength iDisplayStart查询出相应的结果

    Count总数也是对的  

    但是就是前台的 分页页面显示不正确