title: Access map value in EL using a variable as key
body: <p>I have a <code>Map</code> in EL as <code>${map}</code> and I am trying to get the value of it using a key which is by itself also an EL variable <code>${key}</code> with the value <code>"1000"</code>.</p>
  
  <p>Using <code>${map["1000"]}</code> works, but <code>${map["$key"]}</code> does not work. What am I doing wrong and how can I get the <code>Map</code> value using a variable as key?</p>