Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 78344 invoked from network); 8 Oct 2003 14:10:29 -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:10:29 -0000 Received: (qmail 60964 invoked by uid 500); 8 Oct 2003 14:10:17 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 60939 invoked by uid 500); 8 Oct 2003 14:10:17 -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 60920 invoked from network); 8 Oct 2003 14:10:16 -0000 Received: from unknown (HELO starbug.mhsoftware.com) (63.227.7.114) by daedalus.apache.org with SMTP; 8 Oct 2003 14:10:16 -0000 Received: from emp00 (c-67-164-162-42.client.comcast.net [67.164.162.42]) by starbug.mhsoftware.com (8.12.8/8.12.8) with ESMTP id h98EAGIM017313 for ; Wed, 8 Oct 2003 08:10:17 -0600 From: "George Sexton" To: "'Tomcat Developers List'" Subject: RE: Order of parameters Date: Wed, 8 Oct 2003 08:10:15 -0600 Organization: MH Software, Inc. Message-ID: <001a01c38da5$e5d64150$fe00a8c0@emp00> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <61BAD406AA642745AE1142AF689E8D8E030B26@madocontrol.madocke.local> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal 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 solution is to pass a fields list as an additional paramter, and use that field list to drive the ordering of your form. -----Original Message----- From: Martin van Dijken [mailto:mvdijken@madocke.nl] Sent: Wednesday, October 08, 2003 4:16 AM To: Tomcat Developers List Subject: RE: Order of parameters > MOST browsers; certainly not all. 100% true > If you are requiring order it may makes the most sense to NOT > trust the wire - but do the ordering yourself on entry as described. Well, the reason I'm proposing this is I'm modifying a form handler which simply mails all fields encountered to a specific mail address. It works quite well, but is totally unusable because the person who gets the email gets a totally unreadable mail where firstname is after street, then comes his email address, etc.etc. > This idea may not be one which leads to safe habits. Well, the usage of getParameterNames or getParameterMap always has those problems. Anybody can add something to the querystring and even http manipulation isn't that hard. This is up to programmers' discretion I think. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org