tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf <rufoo2...@yahoo.com>
Subject parameter order
Date Fri, 21 Feb 2003 08:16:07 GMT

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message