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
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
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.
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???
Bosun
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
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.
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Gift giving made easy with the permaculture playing cards