title: Don't know how to iterate over supplied "items" in forEach
body: <p>Hi I got an error when I  display details about selected Ski:</p>
  
  <p>JSP code:</p>
  
  <pre><code>    &lt;c:forEach var="skis" items="${skis}"&gt;
  
      &lt;div class="container"&gt;
          &lt;div class="card"&gt;
              &lt;div class="container-fliud"&gt;
                  &lt;div class="wrapper row"&gt;
                      &lt;div class="preview col-md-6"&gt;
  
                          &lt;div class="preview-pic tab-content"&gt;
                              &lt;div class="tab-pane active" id="pic-1"&gt;&lt;img src="#" /&gt;&lt;/div&gt;
                          &lt;/div&gt;
                        &lt;/div&gt;
                      &lt;div class="details col-md-6"&gt;
                          &lt;h3 class="product-title"&gt;${skis.company} - ${skis.model}&lt;/h3&gt;
                           &lt;p class="product-description"&gt;${skis.description}&lt;/p&gt;
                          &lt;h4 class="price"&gt;price per day: &lt;span&gt;12$&lt;/span&gt;&lt;/h4&gt;
                          &lt;h4&gt;Day's reserved: &lt;/h4&gt;
  &lt;/c:forEach&gt;
  
  Controller:
  
       @RequestMapping(value = "/ski/show-details/{skisId}" , method = RequestMethod.GET)
      public String getShowDetailsPage(@PathVariable("skisId") Integer skisId, Model model) {
  
          Skis skis = skisDAO.findOne(skisId);
  
  
          model.addAttribute("skis", skis);
  
          return "ski-details";
      }
  
  Model:
  
      @Entity
      @Table(name = "skis")
      public class Skis {
  
      @Id
      @Column(name= "skisId")
      @GeneratedValue
      private Integer skisId;
  
      @Column(name = "company", length = 20)
      private String company;
  
      @Column(name = "model", length = 20)
      private String model;
  
      @Column(name = "description", length = 200)
      private String description;
  
      @Lob
      @Basic(fetch = FetchType.LAZY)
      private byte[] photo;
  
  
  
      @Repository
      public interface SkisDAO extends CrudRepository&lt;Skis, Integer&gt; {
  </code></pre>
  
  <p>I tried with method like this</p>
  
  <pre><code> @Query("select s from Skis s where s.skisId = :skisId")
  Skis findBySkisId(@Param("skisId") Integer skisId);
  </code></pre>
  
  <p>But it's same problem.</p>
  
  <p>Someone can help? </p>
  
  <p>Stacktrace is as below: </p>
  
  <blockquote>
    <p>javax.servlet.jsp.JspTagException: Don't know how to iterate over
    supplied "items" in &lt;forEach&gt;
      org.apache.taglibs.standard.tag.common.core.ForEachSupport.toForEachIterator(ForEachSupport.java:274)
      org.apache.taglibs.standard.tag.common.core.ForEachSupport.supportedTypeForEachIterator(ForEachSupport.java:238)
      org.apache.taglibs.standard.tag.common.core.ForEachSupport.prepare(ForEachSupport.java:155)
      javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(LoopTagSupport.java:256)
      org.apache.jsp.WEB_002dINF.ski_002ddetails_jsp._jspx_meth_c_005fforEach_005f0(ski_002ddetails_jsp.java:483)
      org.apache.jsp.WEB_002dINF.ski_002ddetails_jsp._jspService(ski_002ddetails_jsp.java:317)    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)</p>
  </blockquote>