title: Displaying List of Map in form:select
body: <p>I'm using Spring MVC framework. I am trying to figure out how to display a list inside a map in the jsp.</p>
  
  <p>assuming "age" is populated, how do I loop through the object to get the value? </p>
  
  <p>our DB have a field, key, value. Example: age, N, 21.</p>
  
  <pre><code>List&lt;Map&lt;String, String&gt;&gt; age;
  model.addAttribute("age", age);
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;form:select path="indicator" required="true" class="form-control float_left" id="indicator" name="indicator"&gt;
      &lt;form:option value="" label="--- Select Age ---"/&gt;
      &lt;form:options items="${age}" itemLabel="123" itemValue="123" /&gt;
  &lt;/form:select&gt;
  </code></pre>