File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Pagination in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Pagination in Struts2" Watch "Pagination in Struts2" New topic

Pagination in Struts2

Anjanaya swamy

Joined: Jun 14, 2012
Posts: 7
Hi All,

I am displaying the searched fields in my app through ajax using display tag. When i click on the next bottom in pagination its displays the data in a saparate page ,instead of displaying on the same page. please suggest how to enable the pagination in display tag through ajax.

The code is of the display tag is as follows :
<%@ taglib uri="" prefix="display" %>

<display:table id="tfsRangeList" name="tfsRangeList" pagesize="10" excludedParams="*" export="false" requestURI="/searchNumber.action" class="tableFormat10">
<display:column property="customerName" title="Customer Name" ></display:column>
<display:column property="customerId" title="Customer ID" ></display:column>
<display:column property="reservationId" title="Reservation ID" ></display:column>
<display:column property="premiumNumber" title="Is Premium Number" ></display:column>
Anjanaya swamy

Joined: Jun 14, 2012
Posts: 7
Hi All,

Please help me in solving the below issues, as i am unable to find the solution for the issue.

Thanks in advance.
I agree. Here's the link:
subject: Pagination in Struts2
It's not a secret anymore!