Hello Christopher! CKSJ> http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1
CKSJ> 17.13.4 Form content types CKSJ> ... CKSJ> application/x-www-form-urlencoded CKSJ> ... Forms submitted with this content type must be encoded as CKSJ> follows: CKSJ> 1. ... CKSJ> 2. The control names/values are listed in the order they CKSJ> appear in the document. ... CKSJ> ... CKSJ> Christopher St. John [EMAIL PROTECTED] This is true of course, and you can get a string of propelly ordered parameters from request.getQueryString(); But I'm not sure if ServletRequest.getParameterNames() will return the names in the same order. I've looked at the Servlet 2.2 api, it says just "Returns an Enumeration of String objects containing the names of the parameters contained in this request. If the request has no parameters, the method returns an empty Enumeration." I've also looked at Catalina (Tomcat 4.0.1) sources and that there a internally a HashMap is used and its keySet() method is invoked to iterate later on the keys set. So I guess that the order in which ServletRequest.getParameterNames() returns names may be arbitrary (and depend internally on the hash function used). Best regards, and Happy New Year! Anton Tagunov =========================================================================== 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
