> I can get all parameters by the help
request.getParameterNames() but
>  it returns them as hash table keys. So we lost their original
order.

Actually, request.getParameterNames() returns an Enumeration,
instead of a Hash table. So you should be able to run through
this Enumeration with (String)yourEnumeration.nextElement();

Please correct me if I am wrong. And if the webbrowser gives the
form fields in correct sequence, then this Enumeration should
also get them in sequence, which results that you get the
correct sequence of attribute names. As a result you get get the
real values of the parameter in sequence with:

Enumeration yourEnumeration = request.getParameterNames();
while (yourEnumeration.hasMoreElements())
   /*do something funny with */
request.getParameter((String)yourEnumeration.nextElement())

Hope this helps.
Cheers
Frans

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

Reply via email to