There's no error because it is doing exactly what you've told it to &
outputting "${i}" 10 times. Try changing the taglib uri to
http://java.sun.com/jsp/jstl/core and making sure you have a JSTL 1.1
implementation.There was a message to the list yesterday from Hans Bergsten ISTR explaining the correct combination of container, JSTL, web.xml and taglib URIs to get everything working right. Ed! -----Original Message----- From: Thomas McDonald [mailto:[EMAIL PROTECTED] Sent: 02 March 2004 22:31 To: [EMAIL PROTECTED] Subject: c:out tag silently fails How come this tag is outputing nothing, i.e., it doesn't render the value of 'i'. Is this an jstl expression language bug? I can't get an error to troubleshoot! Obviously the tags are working, otherwise it wouldn't have looped, right? code: <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> <html> <body> <br>time: <%=new java.util.Date() %> <br> <c:forEach var="i" begin="1" end="10" step="1"> <c:out value="${i}" /> <br /> </c:forEach> </body> </html> output: time: Tue Mar 02 17:11:53 EST 2004 ${i} ${i} ${i} ${i} ${i} ${i} ${i} ${i} ${i} ${i} __________________________________ Do you Yahoo!? Yahoo! Search - Find what you're looking for faster http://search.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
