Skip to Content
0
Former Member
Nov 09, 2005 at 12:03 PM

Control if checkbox is checked

37 Views

Hello !

I've inserted a chekbox in a jsp page and, in my process, I want to control if this checkbox is checked or not.

In my process, I wrote :

boolean A2 = ((Checkbox) getComponentByName("A2")).isChecked();

where "A2" is id of my checkbox

...but this line generate an null error.

Could you help me please ?

Thank you.