my dog learned polymorphism*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: regarding checkbox