posted 14 years ago
Hi Guys
I got 26 records selected from Database, I use Display Tag to display the records as table in my JSP.The issue is I can see the first 20 records on page 1 , but when I click the page 2 or 'Next' option, It says. ' Nothing found to display.'
I use Eclipse and Display tag is ' displaytag-1.2'
Here is the following code
<%
ArrayList list = (ArrayList) request.getAttribute("ListFromBean");
session.setAttribute( "thelist", list);
%>
<display:table name="sessionScope.thelist" pagesize="20">
<display:column property="Name" title="Name" />
<display:column property="School" title="School" />
<display:column property="Location" title="Location" />
<display:column property="Town" title="Town" />
</display:table>