title: Read cookies with JSTL
body: <p>I was studying about cookies and was able to create and read them using scriptlet-based JSP,however when I tried to do the same using JSTL it's not displaying all my cookies, only "JSESSIONID ..." and with my other project it shows the cookie that I created. My question here is why, it seems right for me but not for my browser..
  Here is what I'm trying to do using JSTL:</p>
  
  <pre><code>&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
  
  &lt;c:forEach var="cookieVal" items="${requestScope.cookies}" &gt; 
      &lt;tr&gt;
          &lt;td align="right"&gt;${cookieVal.name}&lt;/td&gt;
          &lt;td&gt;${cookieVal.value}&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>And my other project working:</p>
  
  <pre><code>&lt;% Cookie[] cookies = request.getCookies();
  for (int i = 0; i &lt; cookies.length; i++) {
      Cookie cookie = cookies[i];%&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;%=cookie.getName()%&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%=cookie.getValue()%&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;%}%&gt;
  </code></pre>
  
  <p>And I have m JSTL .jars inside my project libraries folder...
  Thank you!</p>