title: JSTL error javax/servlet/jsp/jstl/core/LoopTag error when using c:forEach tomcat ver7.0
body: <p>Hi using <br />eclipse juno, dynamic web project<br />
  apache Tomcat v7.0 (which has its own jstl-1.2.1.jar) 
  I get this error<br /></p>
  
  <pre><code>javax.servlet.ServletException: java.lang.NoClassDefFoundError:  javax/servlet/jsp/jstl/core/LoopTag
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  </code></pre>
  
  <p>when I try running this jsp code</p>
  
  <pre><code>&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
  
  &lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
  &lt;title&gt;Insert title here&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;c:forEach var="test" items="a,b,c"&gt;
  ${test}
  &lt;/c:forEach&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>it seams not to be seeing the javax.servlet.jsp.jstl.core.LoopTag class that is in the jar<br />
  I have read something about filters blocking javax.servlet files <br />
  <br />
  any help would be greatly appreciated</p>
  
  <hr>
  
  <p>ok I think I have found the solution
  javax.servlet.jsp.jstl-1.2.1.jar<br />
  does not contain the javax.servlet.jsp.jstl.core classes<br /></p>
  
  <p>jstl-1.2.jar needs to be added as well</p>