title: Getting Values from Map Using JSTL
body: <p>I tried looking at different questions here, but none of them matched exactly.</p>
  
  <p><code>I get Map data from the source as &lt;Key,Value&gt; pairs, typically a JSON source</code></p>
  
  <p>I have tried something like this</p>
  
  <pre><code>&lt;tr&gt;
      &lt;c:forEach items="${record.attributes.entry}" var="entry"&gt;
          &lt;td style="width: 20%; height: 15px;"&gt;
              &lt;img
                  src="${entry['p_csl_thumbnail_url']}"
                  class="img-responsive" /&gt;
          &lt;/td&gt;
          &lt;td style="width: 65%; height: 15px;" class="ellipses"&gt;
              ${entry['p_csl_description']}
  
          &lt;/td&gt;
          &lt;td style="width: 15%; height: 15px;" class="ellipses"&gt;
              ${entry['p_csl_close_time_est']}
          &lt;/td&gt;
       &lt;/c:forEach&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>where entry is a Map and I am trying to get the values using the key.</p>
  
  <p>Sample data:</p>
  
  <pre><code>{
    "records": [
      {
        "aggregationCount": "0",
        "attributes": {
          "entry": [
            {
              "key": "P_CSL_Description",
              "value": " [i]test[/i] Description"
            },
            {
              "key": "P_RSCG_Lot_Creation_Time",
              "value": "0"
            },
            {
              "key": "P_CSL_Close_Time_EST",
              "value": "2013-09-16 06:25:00 PM EST"
            },
            {
              "key": "P_CSL_Thumbnail_Url",
              "value": "http://localhost:9889/54205775_lists.jpg"
            }
          ]
        },
        "recordId": "LCOM6693760",
        "selfLocation": {
          "uri": "http://localhost:8899/search-engine/v1/collections/csl/search?recordId=LCOM6693760"
        }
      }
    ]
  }
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <pre><code>&lt;tr&gt;
      &lt;td style="width: 10%; height: 15px;"&gt;
          &lt;img src="${record.attributes.entry['P_CSL_Thumbnail_Url']}" class="img-responsive" /&gt;
      &lt;/td&gt;
      &lt;td style="width: 80%; height: 15px;"&gt;
          ${record.attributes.entry['P_CSL_Description']}
      &lt;/td&gt;
      &lt;td style="width: 10%; height: 15px;"&gt;
          ${record.attributes.entry['P_CSL_Close_Time_EST']}
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>I am getting below error</p>
  
  <pre><code> SEVERE: Servlet.service() for servlet jsp threw exception
   java.lang.NumberFormatException: For input string:
   "P_CSL_Thumbnail_Url"  at
   java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:492)     at
   java.lang.Integer.parseInt(Integer.java:527)   at
   javax.el.ListELResolver.coerce(ListELResolver.java:173)    at
   javax.el.ListELResolver.getValue(ListELResolver.java:52)   at
   org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)
      at org.apache.el.parser.AstValue.getValue(AstValue.java:183)    at
   org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
      at
   org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1026)
      at
   org.apache.jsp.view.jsp.search_jsp._jspx_meth_c_005fforEach_005f4(search_jsp.java:1225)
  </code></pre>