Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 86749 invoked from network); 8 Oct 2003 14:26:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Oct 2003 14:26:57 -0000 Received: (qmail 97570 invoked by uid 500); 8 Oct 2003 14:26:47 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 97334 invoked by uid 500); 8 Oct 2003 14:26:45 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 97319 invoked from network); 8 Oct 2003 14:26:45 -0000 Received: from unknown (HELO sid.armstrong.com) (204.74.20.252) by daedalus.apache.org with SMTP; 8 Oct 2003 14:26:45 -0000 Received: from joedog.org (fnord.armstrong.com [204.74.20.14]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id h98EHOC0027350 for ; Wed, 8 Oct 2003 09:17:24 -0500 Message-ID: <3F841EA7.3080505@joedog.org> Date: Wed, 08 Oct 2003 10:26:47 -0400 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Order of parameters References: <61BAD406AA642745AE1142AF689E8D8E030B27@madocontrol.madocke.local> In-Reply-To: <61BAD406AA642745AE1142AF689E8D8E030B27@madocontrol.madocke.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The problem lies in the servlet spec. It does not dictate that request.getParameterNames() returns the parameter list in any specific order. A feature request to the spec working group is your best bet. If your using GET - you always have access to the query string and a "simple regex" can return your parameter list. -Tim Martin van Dijken wrote: >>The solution is to pass a fields list as an additional >>paramter, and use >>that field list to drive the ordering of your form. > > > That is of course possible, but requires more code in the form, which is in my opinion totally unnecessary. ASP, and I think PHP as well, have this as one of their most basic features, so I really don't see why Tomcat shouldn't. > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org