Parse the String array returned by req.getParameterValues( String
name).

Cheers!
Mark

----- Original Message -----
From: "irene_plj asiamail.com" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 05, 2001 3:24 AM
Subject: Another prob?


> Hi,
>
> How do i get all the values of String AA and executes the "else"
part if it happens that there are more than 1 value??
>
> ******************************************
> String AA=request.getParameter("PEOPLE");
> String p=request.getParameter("Name");
> if(!p.equals("nil"))
> {
>    System.outprintln("Name is=="+p);
>
> }
> else
> {
>    System.out.println("Who is it??"+AA);
> }
> ****************************************
> --
>
> _______________________________________________
> Get your free email from http://freemail.asiamail.com
>
>
______________________________________________________________________
_____
> 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

Reply via email to