i think jsdk doesn't provide any such support or guarantee! we'll have to
code to satisfy our needs...

regards
ks

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 3:09 PM
To: [EMAIL PROTECTED]
Subject: Order of getParameterNames()




Hi All,

How do I get all the parameterNames in an HTML form in
the same sequence as they are in the form.

 i.e if the form contains ....  FirstName, LastName,
MiddleName and Age .   the output should appear in the
same sequence

I have tried using the following but this shifts the
order of the output

**********************************************************
Enumeration paramNames = request.getParameterNames();
while(paramNames.hasMoreElements())
{
      String paramName =
(String)paramNames.nextElement();
      out.print(paramName);
}

**********************************************************
Any help would be appreciated.

Thanks.

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.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