title: Can't get model variable at the jspx page
body: <p>I working with spring 3.1 and method should return a view that represented by jspx page. While in debug i see variable in model named <code>noteList</code>, i can't print or iterate this variable on the page.</p>
  
  <p>The output is <code>${noteList}</code>.</p>
  
  <p>Here is some code:</p>
  
  <pre><code>@RequestMapping( value = "/", method = RequestMethod.GET)
  public ModelAndView rootPage(){
      List&lt;Note&gt; result = sessionFactory.openSession().createCriteria(Note.class).list();
  
      ModelAndView mv = new ModelAndView("index");
      mv.addObject(result);
      return mv;
  }
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:spring="http://www.springframework.org/tags" version="2.0"&gt;
      &lt;jsp:directive.page language="java"
          contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" /&gt;
  
      &lt;![CDATA[&lt;!DOCTYPE html&gt;]]&gt;
      &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  &lt;title&gt;Index page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;c:out value="${noteList}"/&gt; 
  &lt;/body&gt;
      &lt;/html&gt;
  &lt;/jsp:root&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;beans:bean id="viewResolver"
          class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;beans:property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/&gt;
          &lt;beans:property name="prefix" value="/WEB-INF/views/" /&gt;
          &lt;beans:property name="suffix" value=".jspx" /&gt;
      &lt;/beans:bean&gt;
  </code></pre>