Hello,
I need some direction on how to proceed on using hashmap. I am new to this. Please advise.
I have a form with
Struts validation enabled. In my form I have a drop down.Based on value from drop down. I need to load one particular value.
My form has a default value assigned to a particular field. But when something is selected from dropdown I need to overwrite that default value with the value mentioned in the Hashmap for that selected dropdown value(key).
I am using Hashmap to store the key value pairs. Now my question is where should this functionality be. Will it be in the ActionForm or in the Action class.
Thanks.