correct me if i'm wrong anyone but if your checkbox was checked when the form was submitted, it will appear in the request as a name/value pair. if it wasn't checked, it won't appear at all.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Adam, you are correct. Muthukumaran, if you use getParameter(yourCheckBoxName), and null is returned it means that checkbox was not checked. Else, the checkbox is checked, and it should return the corresponding value for that checkboxname.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Oct 09, 2001
thank you Adam, can you clear me in detail, my query is that i want to store yes or no when the checkbox is clicked or not clicked. awaiting for your early reply. bye for now.
Joined: Nov 06, 2000
Ad I posted earlier, In your request.getParameter(yourCheckBoxName) if it returns null, it means it's not clicked. Else, it's clicked. Store your values baased on this. Am I missing something here???