File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

regarding checkbox

johny sil

Joined: Jul 11, 2006
Posts: 13

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

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

Consultant, Sima Solutions
I agree. Here's the link:
subject: regarding checkbox
It's not a secret anymore!