File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Problem with selecting Check box in a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with selecting Check box in a jsp" Watch "Problem with selecting Check box in a jsp" New topic

Problem with selecting Check box in a jsp

rahulj rjagtap
Ranch Hand

Joined: Oct 20, 2010
Posts: 39
I have a JSP page that dynamically lists records in a table from my database. At the left hand side of each row in the table, there are checkboxes for the user to select a particular record that he/she wants to do manipulation. Here we are showing 100 records per page and user can go to next page in which it will show one more hundred records(ie 101 to 200)..As now the problem is when user has select the particular record in Page 1 and when go to Page 2 and if he come back to page 1 the selected paritcular is not checked.... how make it to selected... Please, help me

Thank you for your help in advance...
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60057

Place the checked attribute on the checkboxes you wish to be checked.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Problem with selecting Check box in a jsp
Similar Threads
record gets inserted twice
select all option in JSP
Row locking using oracle database
The selected checkbox should be checked
Handling concurrent updates using JDBC