This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
But the problem is in the ActionForm when I declare selectedItems variable as String it does not work (It does not render checkboxes). It works only when I declare it as a boolean. It does not work even it declared as boolean. I am confused and I wonder why it does not return an array and why it works when I declare it selectedItems variable as a boolean. Thanks,
-----------------------------------<br />If at first you don't succeed, try again without cry. Everytime You will learn what not to do next time, untill you succeed.<br /> <br />SCJP 1.4 (78%)<br />SCWCD 5 (95%)<br />BICT - UCSC
Joined: Feb 13, 2007
Thanks, I got the answer . Getter mehtod should be getSelectedItems(), I used Netbeans IDE to create it and it has created it as isSelectedItems().