This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes regarding checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

regarding checkbox

johny sil
Greenhorn

Joined: Jul 11, 2006
Posts: 13
Hi,

i have array check boxes in my jsp,

ex: itemcode itemname checkbox ADDMORE

when i click ADDMORE button add new row in jsp with same properties

i write my formbean checkbox property as:

public boolean[] check;

in my action:

String check[]=request.getParameterValues("check");

i didn't get checkbox values

but i get the checked values in setter method of formbean(didn't get unchecked values)

Help me,

Thanks in advance
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Johny,

You've already asked this same question in at least two different threads. If you have follow-up questions, please post them in the original thread, rather than opening up new ones with the same question.

For those of you wanting to answer this question, please post to this thread


Merrill
Consultant, Sima Solutions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: regarding checkbox
 
Similar Threads
get the value of checkbox
How to store the multiple check box values in the form bean
[checkbox] can't get even checked values
PreCheck the Checkbox of struts
regarding html:checkbox