This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
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

Selecting Multiple Options

 
Raza Khan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have made a JSP form with select options that selects all mobile brands like Nokia, LG, Motorola,etc. from the drop-down list. But how do i make an option where all brands are selected at once and result is printed for all the brands from the database.

Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34371
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raza,
How about an all option? It could have a special value which your action interprets to mean all the values in the list.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic