swprogrammer 2009-05-11 13:38
浏览 191
已采纳

page-taglib分页问题

想做个分页,用page-taglib怎么没反应,大家帮忙看下

[size=large][color=red]online waiting...................[/color][/size]

页面:

index="half-full"
maxPageItems="10"
maxIndexPages="5"
isOffset=""
export="pageOffset,currentPageNumber=pageNumber"
scope="request">


pg:item
${databank.employee.empName}

/pg:item

/c:forEach

/pg:pager

action:

public ActionForward queryAll(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {

    int pagIndex = 1;
    int pagNum = 20;

    List<Databank> databankList = this.databankBiz.findDataBankByPage(pagIndex, pagNum);
    System.out.println("-------------"+databankList.size());
    request.setAttribute("databankList", databankList);
    return mapping.findForward("pagination");
}

struts-config.xml:

type="org.springframework.web.struts.DelegatingActionProxy"
name="databankInfo"
scope="request"
parameter="op">

spring:



为什么会没反应呢???????
连调用action都没调用到。。。。。到底怎么回事

  • 写回答

1条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?