This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSP and the fly likes serverside validation of check box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "serverside validation of check box" Watch "serverside validation of check box" New topic
Author

serverside validation of check box

LakshmiNarayana vishnu
Ranch Hand

Joined: Aug 03, 2006
Posts: 39
Hi,
I am having one checkbox in my JSP....I want to check whether this check box is checked or not in server side...Please help me on this ..Please send sample code...

Thanks in Advance,
Narvish
Tarun Yadav
Ranch Hand

Joined: Sep 20, 2007
Posts: 134
Originally posted by LakshmiNarayana vishnu:
Hi,
I am having one checkbox in my JSP....I want to check whether this check box is checked or not in server side...Please help me on this ..Please send sample code...

Thanks in Advance,
Narvish


If the checkbox isn't checked, it will not be sent with the form data by the browser. So if while trying to read the checkbox parameter you get a null, it was unchecked.
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: serverside validation of check box