You can use the keyword "multiple" with the select tag. e.g. <select name="lstColor" size="2" multiple> <option>Red</option> <option>Green</option> <option>Blue</optin> </select> To retrieve the values, use String strColor = request.getParameter("lstColor"); This will assign the selected values, delimited by commas, to strColor. On Thu, 4 May 2000, Anna Spångberg wrote: > How do i get > > multiple values from a select menu with request.getParameter ? > > thanks > > anna > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Multiple values from a select menu with request.getParameter ?
Pratyush Joshi Emp Code 4727 Thu, 04 May 2000 02:12:25 -0700
- Multiple values from a select menu with reque... Anna Spångberg
- Re: Multiple values from a select menu w... Pratyush Joshi Emp Code 4727
- Re: Multiple values from a select menu w... Antonio Jimenez
- Re: Multiple values from a select me... Corey A. Johnson
- Re: Multiple values from a selec... Hans Bergsten
- Re: Multiple values from a select menu w... Kevin Duffey
- Re: Multiple values from a select menu w... [Vinod Govindan]
- Re: Multiple values from a select menu w... Robo Zilka
- Re: Multiple values from a select menu w... Dmitri Namiot