my dog learned polymorphism*
The moose likes JSP and the fly likes Pagination Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Pagination Problem" Watch "Pagination Problem" New topic
Author

Pagination Problem

Puneet Soni
Greenhorn

Joined: Aug 08, 2008
Posts: 18

Here is My Problem.

I have a database that gives 50 records at a time even if the record contains more records.
I want to do pagnation using only JSP but the the condition is when i reach the last record i need to again hit the database, get records and append it to the present list of records in the JSP.
Can some one help me out in doing so using only JSP as the in cannot use AJAX.
javascript:emoticon('');

Thanks in advance.
Kishore Tulsiani
Greenhorn

Joined: Jan 15, 2010
Posts: 21
JQuery rocks in this scenario
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pagination Problem
 
Similar Threads
Problem in displaying rows of the column in jsp
how to set up a navigation tree in struts?
Want to refresh Top jsp(Interesting Question)
how to display next and previous records in jsp
Record Locking in multi-user