想做个分页,用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都没调用到。。。。。到底怎么回事