title: Values not displayed in jsp
body: <p>I am new to spring framework and using jstl. I have a problem in displaying my data on jsp file. Here is my code</p>
  
  <p>Controller</p>
  
  <pre><code>@RequestMapping(method = RequestMethod.GET, value = "/test")
  public ModelAndView getTest(HttpServletRequest request) {
      List&lt;Place&gt; places = PlacesService.search(types, 48.137048, 11.57538599, 10000);
      for(Place place:places){        
  
          System.out.println("Name: " + place.getName());
          System.out.println("Rating: " + place.getRating());
          System.out.println("Categories: " + place.getTypes());
          counter++;
      }
      ModelAndView model = new ModelAndView("test");
      model.addObject("places", places);
      return model; 
  }
  </code></pre>
  
  <p>In my test.jsp</p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"    pageEncoding="ISO-8859-1"%&gt;
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
  &lt;html&gt;
  &lt;body&gt;
   Hello World!
   &lt;c:forEach items="${places}" var="place"&gt;
     &lt;c:out value="${place.name}"/&gt;   
     &lt;c:out value="${place.rating}"/&gt;
     &lt;c:out value="${place.types}"/&gt;
  &lt;/c:forEach&gt;
  &lt;c:forEach begin="6" end="15" var="val"&gt;
      &lt;c:out value="${val}"/&gt;
  &lt;/c:forEach&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>For both the for loops I get  <code>${place.name}</code>, <code>${place.rating}</code>, <code>${place.types}</code> and <code>${val}</code> printed. However <code>System.print.out()</code> gives me the desired values.</p>
  
  <p>What I am doing wrong?</p>