This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes help in checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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: 15376
    
    6
Please do not cross post....
Answer question here: http://www.coderanch.com/t/284951/JSP/java/save-checked-value-checkbox-database
Eric
 
GeeCON Prague 2014
 
subject: help in checkbox