Mark Weidner wrote:
>
> From: Jason Reynolds [mailto:[EMAIL PROTECTED]]
>>
>> Using Enumeration e = request.getParameterNames Is there any way to grab
>> the paramNames from an html form in the order in which they appeared on
>> that form.
>
> The paramaters are returned in no particular order. Therefore, you need to
> name your form elements with an order identifier.
If you have no control over the form, then the alternate solution is to
read the input stream directly. However, doing this will probably
prevent you from calling any of the getParam... methods later in the
servlet. But the best solution of all is to develop your application so
that it does not depend upon the order of the fields in the form.
K Mukhar
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html