The moose likes JSP and the fly likes page navigation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "page navigation problem" Watch "page navigation problem" New topic

page navigation problem

Tania Sen

Joined: Feb 28, 2010
Posts: 8
here is the scenario..my servlet fetches the whole table which i store in an ArrayList,which i pass to a jsp page,where i run a for loop and print the contents... it is an announcement page..and i store it in a database which is printed in announcement.jsp page
Now i want that user click's "next" hyperlink and the same page reloads and displays next 10 announcements and so on...similarly i want to use a "previous" page...
i am using an arraylist
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60810

See the JSP FAQ which has an entry on data paging.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: page navigation problem
Similar Threads
ClassCastException while reading ics file with ical4j in JackRabit
dynamic Checkboxe value retrieval
how to know which servlet/jsp calling a particular servlet
CSS Not Rendering on JSP that is passed to from Servlet
jQuery not "seen" [ghost buster]