title: Manipulating and storing Java hashmap(map of map) in java script at JSP to use later in combo menu
body: <p>I have a hashmap as variable in baking bean like. </p>
  
  <pre><code> private Map&lt;String, Map&lt;String, String&gt;&gt; states;
  </code></pre>
  
  <p>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</p>
  
  <pre><code> stateMap ='${resetForm.states}';
  </code></pre>
  
  <p>But it will be a string. Please help</p>
  
  <p>Thanks  </p>