Hi,
we are using displaytag for the pagination in a struts application. The issue we are facing is when the result found it shows the no of records found as 26, and we have given limitation to display only 15 per page. When i try to click on next/last option available it shows the nothing found to display.
Please suggest me what Iam missing in this.
Code used in jsp is as below:
Thanks in advance,Code:List requestList = new ArrayList(); if (request.getAttribute("requestList") != null) { requestList = (List) request.getAttribute("requestList"); session.setAttribute("requestList", requestList); } ..... <form name="myform"> <logic:notEqual name="requestList" value="null"> <display:table name="sessionScope.requestList" pagesize="15" requestURI="/findRequest.do" decorator="utils.HrefDecorator"> <display:column property="link1" title="Request Id" sortable="true" /> <display:column property="createDate" title="Request Date" sortable="true" sortName="createDate" /> <display:column property="customer.firstName" title="First Name" /> <display:column property="customer.lastName" title="Last Name" /> </display:table> </logic:notEqual> </form>
Jee


Reply With Quote



Bookmarks