HashMap map=new HashMap(); map.put("wpu_no",wpu_no); map.put("wpu_url",wpu_url); map.put("wpu_pr_url",wpu_pr_url); map.put("wpu_page_name",wpu_page_name); map.put("wpu_page_type",wpu_page_type); map.put("action","create"); Iterator ite = map.keySet().iterator(); while(ite.hasNext()){ String key = (String)ite.next(); // key System.out.println("-->"+key+"==>"+map.get(key)); }