How to populate hash map values in select box using struts tags??
706710Nov 3 2009 — edited Nov 4 2009Hi all,
im facing an issue as below,i have a hashmap as below.
HashMap XYZMapData = getValues(); //in Action class
This HashMap is filled with key,value pairs retrived from database.
1> I want to populate this HashMap onto the jsp page in a <html: select ....> tag.-->how do i achieve this
2> Once done i need to retrieve both the key and value pair in my Action class when i click
on submit button. --> Need help on this too.