aspose file tools
The moose likes Struts and the fly likes Selecting Multiple Options Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Selecting Multiple Options" Watch "Selecting Multiple Options" New topic

Selecting Multiple Options

Raza Khan

Joined: Nov 19, 2008
Posts: 15
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.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32299

How about an all option? It could have a special value which your action interprets to mean all the values in the list.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
jQuery in Action, 3rd edition
subject: Selecting Multiple Options
It's not a secret anymore!