File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Aug 06, 2007
Apr 10, 2008 01:12:00
my target shown below:
< << 1|2|3|4|5 >> >
Please help me regarding this
Joined: Sep 12, 2007
Apr 10, 2008 05:31:00
You have to use rownum in your query that will fetch records like this
rownum>=lowerlimit and rownum<=upperlimit
just calculate lowerlimit = (pageno-1)*no_of_records_per_page
and upperlimit = pageno * no of records_per_page;
where no_of_records_per page is the number of recoreds you wish to show on a page.
send selected pageno <1|2|3> to action.
See if it helps .
Joined: Mar 22, 2005
Apr 10, 2008 05:35:00
You might also want to read
I agree. Here's the link:
subject: Pagination style
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015