You can't guarantee the order of form paramaters; the browsers don't have a
well-defined order themselves, so there's no guarantees available.

---------------------------------------------------
Joseph B. Ottinger               [EMAIL PROTECTED]
http://adjacency.org                  IT Consultant



>From: Hardeep Singh <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Getting form parameters in order of input
>Date: Tue, 11 Sep 2001 11:24:59 +0530
>
>Hi,
>
>I want the names of all input parameters sent to a form. I can do this in a
>JSP through request.getParameterName(). However, this gives me the names in
>alphabetical order. For my application, it is important to get the
>parameters in the exact order in which they were sent. Can I do this
>without
>parsing the InputStream? If I have to parse InputStream, then is there any
>readymade code available?
>
>Hardeep Singh
>http://SeeingWithC.cjb.net
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to