Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DropDown List Error handler

 
paul alvin
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't you think that client side validations like this should go into Javascript??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic