This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "page navigation problem" Watch "page navigation problem" New topic
Author

page navigation problem

Tania Sen
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

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
dynamic Checkboxe value retrieval
jQuery not "seen" [ghost buster]
ClassCastException while reading ics file with ical4j in JackRabit
CSS Not Rendering on JSP that is passed to from Servlet
how to know which servlet/jsp calling a particular servlet