File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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: 15376
    
    6
Please do not cross post....
Answer question here: http://www.coderanch.com/t/284951/JSP/java/save-checked-value-checkbox-database
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help in checkbox
 
Similar Threads
save checked value in checkbox to database
How to add new text boxes and check boxes dynamically when clicking on button in JSF
Session Maintainence
Help in JSP + menus
Pls Help with JSP code