• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to retrieve checkboxes and save them to database  RSS feed

 
majid nakit
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two tables :

AllRolesTable

and

UserRolesTable

I want when I open a jsp page FOR A USER I will see all the roles from AllRolesTable

and only the one that belong to the table UserRolesTable are checked, I can check uncheck checkboxes and submit back to the databse.

Please can you give me a small example on how to do this ?

Thanks
your help is appreciated.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where's your code? No one here is going to write it for you. Show us what you have so far and explain what's not working.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!