On Wed, 5 Jun 2002, Chanel Tien wrote: > Hi, > > I tried to use getParameterValues() to get a value from a mutiple > select list; however, it's returning me null. > Does anyone have an example of passing an array from html form to > Servlet? Any comments are appreciated:) > Thanks.
Are you sure anything is selected and/or being sent? According to the docs on getParameterValues, it returns NULL if the parameter in question is not present. I don't know offhand how select lists behave when nothing is selected. You can trying using GET as your method and seeing what the URL/query string looks like. Milt Epstein Research Programmer Systems and Technology Services (STS) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html