Amar Das wrote:
>
> Let consider I am have the following URL
> http://...../servlet/MakeList?ID1=STN001&ID2=STN002 etc.

>
> String req1=request.getParameter("ID1");
> String req2=request.getParameter("ID2"):
>
> But I need some help, how to handle things when I do not know how many
> parameters passed.
Take a look at the docs. There are some methods like getParameterNames()
and getParameters().

sven


--
======================================================================================
Sven van 't Veer                                              http://www.cachoeiro.net
Java Developer                                                      [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

Reply via email to