wood burning stoves 2.0*
The moose likes Servlets and the fly likes DropDown List Error handler 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 » Servlets
Bookmark "DropDown List Error handler" Watch "DropDown List Error handler" New topic
Author

DropDown List Error handler

paul alvin
Greenhorn

Joined: Nov 15, 2012
Posts: 15
I have a code that use dropdown list in my jsp page

here's the code



then I use the following in the header of the page



I tried to verify that the dropdown control does not allow to pass the value of the "Please Select..." by the code



but still I cannot get it...How can I properly handle this situation?
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Don't you think that client side validations like this should go into Javascript??


SCJP, SCWCD.
|Asking Good Questions|
 
jQuery in Action, 2nd edition
 
subject: DropDown List Error handler
 
Similar Threads
<jsp:setProperty> sets null values in the bean
Servlet throws Unload Exception
How to display only single radio button checked by using onload method?
Error comes whilke compiling the jsp page
spaces while populating using s:iterator