Hi
i have one hashmap field in my form bean.It inturn contains few hasmap in it,which is set in the action class.
My requirement is i have to retreive a hashmap basing on the key ,from the field in my form bean and have to use that one to populate drop down ...
any idea??
I mean
in my form bean
HashMap testMap()=null; //it has getter and setter in the bean
i am setting some other hashMap to it in my action class..
like
//action class
HashMap sampleMap=new HashMap();
HashMap sampleMap1 =new HashMap();
sampleMap.put("sampleMap1",sampleMap);
myForm.setTestMap(sampleMap);
>on my
jsp i want to retrieve the key and value pairs in sampleMap1 and have to make use it to populate my drop downs...
any help?