aspose file tools*
The moose likes JSP and the fly likes checkboxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "checkboxes" Watch "checkboxes" New topic
Author

checkboxes

subrahm puvvada
Greenhorn

Joined: Aug 23, 2005
Posts: 14
i have one situation.
in jsp when u check items and click submit button the checked values are sumitted to the database.that i have done it
if u don't check any one and click submit button then server500 error is comming.
how to handle this situation
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
If dont check it means you will get null as a value of that parameter.
It is just like the same that you dont have any parameter with that name at all.
Vikas Bhatia
Greenhorn

Joined: Mar 22, 2005
Posts: 17
Originally posted by subrahm puvvada:
i have one situation.
in jsp when u check items and click submit button the checked values are sumitted to the database.that i have done it
if u don't check any one and click submit button then server500 error is comming.
how to handle this situation


It means that you are trying to refer to a value of a parameter, the object for which does not exist.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: checkboxes