title: Error using EL in JSP
body: <p>I used El , but it is not valid .
  I get an error : <code>javax.el.ELException: Cannot convert  1 of type class java.lang.String to class java.lang.Long</code> . 1 is count.</p>
  
  <pre><code>     &lt;h3&gt;My Shopping&lt;/h3&gt;
              &lt;c:set var="count" value=" ${sessionScope.cart.count}" /&gt;
              ${count}
               &lt;%--
              &lt;c:set var="cart" value="${sessionScope.cart}" /&gt;
              &lt;c:set var="count" value=" ${sessionScope.cart.count}" /&gt;
              &lt;br/&gt;
              &lt;c:if test="${count &lt; 1}"  &gt;    
                  No Product in your cart
              &lt;/c:if&gt;
              &lt;c:if test="${count &gt; 0}"&gt;
                  &lt;c:set var="listCart" value="${sessionScope.cart.cart}" /&gt;
  </code></pre>