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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Selecting Multiple Options" Watch "Selecting Multiple Options" New topic
Author

Selecting Multiple Options

Raza Khan
Greenhorn

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.

Thanks
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30965
    
158

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


[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
 
wood burning stoves
 
subject: Selecting Multiple Options