action="${pageContext.request.contextPath}/peopleInfoSearch"
传到peopleInfoSearch这个action
在这个action对应的方法中获取当前的页码,和显示数目
int pageNow = RequestUtils.getCurrentRowsDisplayed(request);
int pageNowCurrentRows = RequestUtils.getCurrentRowsDisplayed(request);
那这个request怎么获取?
------解决方案--------------------
ServletActionContext.getRequest()就这样获取呗。