This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "DropDown List Error handler" Watch "DropDown List Error handler" New topic

DropDown List Error handler

paul alvin

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

Joined: Jun 06, 2007
Posts: 2851

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

|Asking Good Questions|
I agree. Here's the link:
subject: DropDown List Error handler
It's not a secret anymore!