wood burning stoves 2.0*
The moose likes Servlets and the fly likes How to store the multiple check box values in the form bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to store the multiple check box values in the form bean" Watch "How to store the multiple check box values in the form bean" New topic
Author

How to store the multiple check box values in the form bean

Teja Reddy
Greenhorn

Joined: Jan 21, 2008
Posts: 1
Hi

i had displayed the values in jsp using multiple checkbox from Database, now i want to save the values of checkbox in Formbean and pass them to Action.

Help me out for the same

thanks in advance
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

What part are you stuck on?

Do you know what the browser is sending you when the user submits the form?
Do you know how to retrieve parameters from the request?
Are you retrieving them from your servlet or are you passing the map of parameters to your form bean?
Is there a fixed number of checkboxes?
Do you know their names ahead of time?
Do your checkboxes have values or are you only checking for null or not null.
Do your checkboxes have different names or do they all share a name?

The more information you can give us, the more we can help you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to store the multiple check box values in the form bean
 
Similar Threads
Regular expression + special characters
how to delete a row from database by selecting it in jsp page using checkbox?
how to pass multiple values through hyperlink to a jsp page ?
Values in multiple tiles
Dynamic checkbox