File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes select records from multiple pages 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 » Engineering » HTML, CSS and JavaScript
Bookmark "select records from multiple pages" Watch "select records from multiple pages" New topic
Author

select records from multiple pages

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
i have a resultset of 100 records. 10 records are displayed and pagination is displayed for the users to navigate to other pages. All this is accomplished using jstl.

if the user selects 2 records on page 1, navigates to page 2 and selects 2 more records, only the records from page 2 get selected. how can the records from page 1 and page 2 get selected? how can i retain selected records between pages?


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60792
    
  65

You didn't mention what you are using on the back end. You could retain this information across multiple pages in the session, if using servlets. Or, you could carry the selections across pages by creating hidden inputs to hold them.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: select records from multiple pages
 
Similar Threads
saving session variable in drop down list
servlets and html pages
search from list.
moving values from 1 select box to another
Adding new values in Session