This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Updation on checkboxes in 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 "Updation on checkboxes in JSP" Watch "Updation on checkboxes in JSP" New topic

Updation on checkboxes in JSP

Manish Sahni
Ranch Hand

Joined: Sep 09, 2009
Posts: 41


i am making a module in a project which have various checkboxes , and an updation button.

While clicking on update button,the values are updated in my database , and the next time i visit the same module , the values previously checked remains checked.

Now when i uncheck some values and update then also the database is updated .
However while doing it thrice the database value stops updating and i see the previous (on second time visit) checked boxes checked.

Please tell me why the updation is not working on revisiting the page again?

Thanks in advance..
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308
Is it possible to see at least the jsp code used for writing the checkboxes, the code written to check (uncheck) the checkboxes, the servlet code that gets the checkboxes from the request and the query used to perform the update operation?

Thank you

I agree. Here's the link:
subject: Updation on checkboxes in JSP
Similar Threads
very very urgent... read data from jsp table.
Select Option tag and JSP
updating and refreshing a jsp page
Refreshing JTable contents handling.
Need help on basic struts