title: how to access a ModelAndView object within the jsp page
body: <p>I have a code like this in my controller.</p>
  
  <pre><code>ModelAndView result = new ModelAndView("person/sometrends");  
  result.addObject("data", data);  // data -&gt; Map
  </code></pre>
  
  <p>In my JSP page I have written some Java code that is dependent on the data object.
  How can I get that data object within the JSP code?</p>
  
  <p>I tried something like this (pseudo code).</p>
  
  <pre><code>&lt;%
      Map x = ${data};
  %&gt;
  </code></pre>
  
  <p>But that doesn't work. Not sure how to access it.</p>