You should use an ArrayList.
There was an interesting arcticle on Collections in the JDC
some time ago. They are also described in the new JAVA Tutorial
by SUN. Since I've discovered them I use Collections all the
time.
Formanek Gary L wrote:
>
> I haven't looked at Collections yet, but I'm assuming this would allow us to
> get the form name/value pairs in the order they exist on the page if this
> framework existed. That has been one of the things I would like to see. I
> know there have been several ideas of how to do this, but they're kludgy.
> While a Hashtable is nice for many things, it doesn't help with this. There
> are times when you just want to send an email with the form information to
> someone and keep it ordered like the form was.
>
> Thanks,
>
> Gary
___________________________________________________________________________
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