posted 16 years ago
Hi,
Extract array from hashmap for the example you mentioned, code is as follows
HashMap hmap=new HashMap();
hmap.put("storeKey", new String[]{"first","second"});
String obj[]=(String[])hmap.get("storeKey");
for(int i=0;i<obj.length;i++){
System.out.println(obj[i]);
}
Thanks&Regards,<br />gkumar