I have a servlet that pulls demographic data rowsets (sorted alphabetically by last 
name) from a database.  I then place information into a Hashtable() using last name as 
the key and vectors as the stored objects.  When I pull out an Enumeration of the 
hashtable keys and then print them out they are not in the same order that I put them 
into the hashtable!  I lose the alpha sorting from the original rowsets.

Is there something in Enumeration that causes the keys to come out in any old order?  
Is there something in Hashtable?  Is there a simple way to fix this?

Darren

___________________________________________________________________________
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

Reply via email to