Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes (struts 1.2)retreiving values from multibox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "(struts 1.2)retreiving values from multibox " Watch "(struts 1.2)retreiving values from multibox " New topic
Author

(struts 1.2)retreiving values from multibox

Santhosh Puttu
Greenhorn

Joined: Jun 08, 2010
Posts: 27
I need to take check box values from jsp page to Action class.
And store values to database.
How to retreive the values of check box which are selected.

attendance.jsp




AttendanceAction.java



AttendanceForm.java
Santhosh Puttu
Greenhorn

Joined: Jun 08, 2010
Posts: 27
I did this for one student...
ie displayed first name and last name.... and a multiple check boxes ..
I am able to take checked values for first student.....

For remaining students.... How can I Take checked values of remaining students.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: (struts 1.2)retreiving values from multibox