title: Get value from hashmap based on key to JSTL
body: <p>I want to get the value of <code>HashMap</code> based on key.<br></p>
  
  <pre><code>HashMap&lt;String, ArrayList&lt;String&gt;&gt; map 
      = new HashMap&lt;String, ArrayList&lt;String&gt;&gt;();
  ArrayList&lt;String&gt; arrayList = new ArrayList&lt;String&gt;();
  
  map.put("key", arrayList);
  request.setAttribute("key", map);
  </code></pre>
  
  <p>What i did is<br></p>
  
  <pre><code>&lt;c:forEach var="map" items="${requestScope.key}"&gt;
      &lt;c:forEach var="hash" items="${map.value}"&gt;
          &lt;option&gt;&lt;c:out value="${hash}"/&gt;&lt;/option&gt;
      &lt;/c:forEach&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>But it seems it's printing everything, what i want to do is to get the value depends on key like: <code>hash.key</code> or something</p>
  
  <p><b>UPDATE:</b><br>
  I did something like this but it still doesn't work</p>
  
  <pre><code>&lt;c:forEach var="map" items="${requestScope.key}"&gt;
      &lt;c:forEach var="hash" items="${map['key']}"&gt;
          &lt;option&gt;&lt;c:out value="${hash}"/&gt;&lt;/option&gt;
      &lt;/c:forEach&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>and the StackTrace: <code>Property 'External' not found on type java.util.HashMap$Entry</code> <br>
  I'm pretty sure that there is really that kind of key.</p>