title: jsp tag foreach var is not recognized
body: <p>I am trying to display a list of customer inside a jsp page selected from a service as follows 
  entity :</p>
  
  <pre><code>@Entity
  public class Client implements Serializable {
  
      @Id
      @GeneratedValue
      private long idClient;
  
      private String nom;
  
      private String prenom;
  
      private String adress;
  
      private String mail;
  </code></pre>
  
  <p>service:</p>
  
  <pre><code>    @Autowired
      private IClientService clientService;
  
      @RequestMapping(value= "/")
      public String clients(Model model){
  
          List&lt;Client&gt; clients = clientService.selectAll();
  
          if(clients == null) { clients = new ArrayList&lt;Client&gt;(); };
  
          System.out.println("client size = "+clients.size());//debug : contains 2 elements 
  
          model.addAttribute("clients", clients);
  
          return "client/clients";
      }
  }
  </code></pre>
  
  <p>my jsp page : 
  tag lib : </p>
  
  <pre><code>&lt; %@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;  
  </code></pre>
  
  <p>and the jsp code used to display the customers </p>
  
  <pre><code>&lt;c:forEach  items="${clients}" var="client"&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;${client.getNom()}&lt;/td&gt;
                                      &lt;td&gt; ${client.prenom}&lt;&lt;/td&gt;
                                      &lt;td&gt; ${client.adress}&lt;&lt;/td&gt;
                                      &lt;td&gt; ${client.mail }&lt;&lt;/td&gt;
                                      &lt;td&gt;&lt;a href=""&gt;Edit&lt;/a&gt;, &lt;a href=""&gt;delete&lt;/a&gt;&lt;/td&gt;
                                  &lt;/tr&gt;
  &lt; /c:forEach&gt;
  </code></pre>
  
  <p>but the client fields are not recognized 
  here is the error :</p>
  
  <pre><code>org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/views/client/clients.jsp at line 85
  
  82:                         &lt;tbody&gt;
  83:                              &lt;c:forEach  items="${clients}" var="client"&gt;
  84:                                 &lt;tr&gt;
  85:                                     &lt;td&gt;${client.nom }&lt;/td&gt;
  86:                                     &lt;td&gt; ${client.prenom }&lt;&lt;/td&gt;
  87:                                     &lt;td&gt; ${client.adress }&lt;&lt;/td&gt;
  88:                                     &lt;td&gt; ${client.mail }&lt;&lt;/td&gt;
  
  
  javax.el.PropertyNotFoundException: Property 'nom' not found on type java.lang.String
      javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:268)
      javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:221)
      javax.el.BeanELResolver.property(BeanELResolver.java:355)
  </code></pre>