>You DO know that getParameterValues() only works on the QUERY_STRING, I
>hope. Show us your FORM tag...
That is not true, getParameterValues() works on Post as well.
Jim Richards offered the best advice (IMHO), that Srinivasa needs to make
sure that an item from the list has been selected.
Generally I wrap all my Param fetches with a "null catcher":
String[] parmVals = null;
if (request.getParameterValues("GroupList") != null)
{
// user has selected something from GroupList
parmVals = request.getParameterValues("GroupList") ;
}
if (parmVals != null)
{
//do stuff
...
}
Lance Lavandowska
http://www.AgDomain.Com
-----Original Message-----
From: Juergen Hermann <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, November 23, 1999 4:35 AM
Subject: Re: Not able to read items list box...
>On Mon, 22 Nov 1999 14:50:02 -0700, Srinivasa Nagalli (USA) wrote:
>
>> I tried your answer, still request.getParameterValues
>("GroupList");
>>is returning null?
>
>You DO know that getParameterValues() only works on the QUERY_STRING, I
>hope. Show us your FORM tag...
>
>
>Ciao, Juergen
>
>_________________________________________________________________________
__
>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
>
___________________________________________________________________________
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