wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

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: http://aspose.com/file-tools
 
subject: Problem with selecting Check box in a jsp
 
Similar Threads
record gets inserted twice
Handling concurrent updates using JDBC
The selected checkbox should be checked
Row locking using oracle database
select all option in JSP