aspose file tools*
The moose likes Servlets and the fly likes Getting mutilple values selected fom the select element of html? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting mutilple values selected fom the select element of html?" Watch "Getting mutilple values selected fom the select element of html?" New topic
Author

Getting mutilple values selected fom the select element of html?

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

In my servlet i want to obtain the multiple values selected in my html form.The element is a select with multiple option.So how can i get these multiple selected values in my servlet using request object??
[ June 03, 2006: Message edited by: Bear Bibeault ]

Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
And you posted this in the HTML forum why? moving to servlets
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Take a look at:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getParameterValues(java.lang.String)


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
richa mehta
Greenhorn

Joined: May 12, 2006
Posts: 4
hi jack,

i have a similar problem. Hope to hear from people in the forum
hope to hear from monarch as well

richa.m
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

richa

Welcome to Javaranch.
Did you see my reply to the original poster's question?
If so, did it answer your question?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting mutilple values selected fom the select element of html?