IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes help in checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

help in checkbox

barbie amr
Greenhorn

Joined: Mar 30, 2004
Posts: 6
Hi,
I am new to JSP, Servlets, JavaScript. I am presently doing a project in JSP + servlets. I need help. In my jSP form i have 1 text box and 18 check boxes, a save button. I enter a group name in text box and click some check boxes. WHen i click on save button i want the groupname along with the check box values to be saved in the database(oracle).
i.e., There are some modules and each module has add, edit and delete checkboxes. I need to give permissions based on the group, say for eg. there is a module called user master, the administrator group is allowed to add, edit and delete but the user group is allowed only to add. hence only add check box of user master is to be clicked. When the user clicks on the save button, the group name, the module name and the module's rights are to be saved in databse.
THe database table consits of the following fields - groupname, module name, addright, editright, delright.
can anyone help me in this regard
thanx and sorry for such a huge messae
kavi
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Please do not cross post....
Answer question here: http://www.coderanch.com/t/284951/JSP/java/save-checked-value-checkbox-database
Eric
 
 
subject: help in checkbox
 
Threads others viewed
save checked value in checkbox to database
Help in JSP + menus
Session Maintainence
Pls Help with JSP code
How to add new text boxes and check boxes dynamically when clicking on button in JSF
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture