I have a hashmap as variable in baking bean like.
private Map<String, Map<String, String>> states;
At JSP page, I have two combo menu 1st is for country and second is for states. I need to populate second combo menu based on selected country on first combo menu, Mapping is there at above hash map. Any suggestions. I am using spring mvc and jsp. I can access above map at javascript using
stateMap ='${resetForm.states}';
But it will be a string. Please help
Thanks