0 Replies Latest reply on Jul 5, 2005 8:25 PM by just_a_w

    taglibs not printing variable's values

    just_a_w

      I'm trying to use taglibs but am having some problems.

      I added an entry in my web.xml for the 'core' taglib (c.tld). I also added c.tld into the WEB-INF directory of my .war file and appserv-ext.jar, appserv-jstl.jar, and appserv-tags.jar (taken from the Sun app server) into JBoss' lib directory.

      In my .jsp I am trying to run the following:


      <c:forEach var="i" begin="1" end="10" step="1">
      <c:out value="${i}" />
      </c:forEach>


      The forEach loops ok, but it prints ${i} to the webpage ten times instead of the value for "i" (1, 2, 3, etc.)

      Any ideas what's wrong?

      Thanks