Hash « Table « JSP-Servlet Q&A





1. Hash Table    coderanch.com

Hi All, I am fetching a list of all the Countries and their keys from the database. The select query is sorted by country name alphabetically. But when I use the following code the result is an unsorted list of countries. Any help is appreciated ASAP. Following is the code sample: erdManager e = new erdManager(); Hashtable ht = e.getList("Country_Key"); Enumeration ...