title: JSP c:forEach items attribute cannot resolve variable
body: <p>I using <code>javax.servlet.jsp.jstl-1.2.1</code> lib in my JSP project.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
  // other classes are included too
  &lt;%
  Tools tools = new Tools();
  news [] list = tools.getEvent();
  %&gt;
  
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;c:forEach var="i" items="${list}"&gt; &lt;-- cannot resolve variable 'list', why?
  /* Do something */
  &lt;/c:forEach&gt;
  
  &lt;/body
  &lt;/html&gt;
  </code></pre>
  
  <p>As you see, the 'list' variable extsts but invisible for forEach. What i missed? c:out works fine.
  It crashes with <code>java.lang.ClassNotFoundException: org.apache.jsp.index_jsp</code> signature.</p>
  
  <p>Strange things are happens...
  I tried to execute this:</p>
  
  <pre><code>&lt;c:forEach var="i" begin="1" end="5"&gt;
      &lt;c:out value="works"/&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>But i got the same error..</p>