Forums Register Login

display in Jsp

+Pie Number of slices to send: Send
Hi

I have a doubt . I had a list box which you selected mutiple values and i have another 3 to 4 check boxes . I am using struts Framework so in action form i used the checkbox group name and list box name as variables.

but when in Action i retrieve the values from the action form i am able to display only one value. How i will be able to display all the values selected in the check box or list.

Thanks in advance.
+Pie Number of slices to send: Send
Checkboxes and select lists work differently.
To receive all the selected values from a multi select list, use request.getParameterValues.
I wasn't selected to go to mars. This tiny ad got in ahead of me:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 956 times.
Similar Threads
html Checkbox value not getting
I want to fill a Listbox with values dynamically using JSP when I press a button
multiple forms in JSP
Struts 2 Select Tag
A diffrent type of checkbox problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:11:12.