Display hashmap values in HTML dropdown box [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . How to display hashmap values in an HTML dropdown box using Java? HashMap<Integer,String> hm =new HashMap<Integer,String>(); hm.put(1,"abc"); hm.put(2,"def"); hm.put(3,"ghi"); Using the jEasyUI framework with jQuery. 回答1: <% HashMap<Integer,String> hm =new HashMap<Integer,String>(); hm.put(1,"abc")