Howdy, No rule exists, your design shouldn't rely on parameter order. If it does, shuffle the enumeration into another structure, e.g. List, and sort it before processing parameters.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: rf [mailto:[EMAIL PROTECTED]] >Sent: Friday, February 21, 2003 3:16 AM >To: [EMAIL PROTECTED] >Subject: parameter order > > >StringBuffer sb = new StringBuffer(); >Enumeration en = req.getParameterNames(); >for (; en.hasMoreElements() ;) { > String param = (String) en.nextElement(); > String value = req.getParameter (param); > sb.append(param).append(": >").append(value).append("\n"); >} > > >The order of the parameters is not clear - it is >neither alphabetical nor as specified in the html >form. >Is it that IE is ordering the parameters in such way >when POSTing the data? Anybody knows about this? This >is just out of curiousity, not really needed anywhere. > >Thanks >rf > > >__________________________________________________ >Do you Yahoo!? >Yahoo! Tax Center - forms, calculators, tips, more >http://taxes.yahoo.com/ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
