This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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://aspose.com/file-tools
 
subject: serverside validation of check box
 
Similar Threads
Strange - Page Submits!!!
Don Liu, what is that in your signature?
Enable combo box when check box is checked
how to do
How to send Checkbox Value in a JSP page.