tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Webb, Ed" <>
Subject RE: out tag silently fails
Date Tue, 02 Mar 2004 22:44:56 GMT
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 and making sure you have a JSTL 1.1

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.


-----Original Message-----
From: Thomas McDonald []
Sent: 02 March 2004 22:31
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,


<%@ taglib uri=""
<br>time: <%=new java.util.Date() %>
<c:forEach var="i" begin="1" end="10" step="1">
	<c:out value="${i}" />
	<br />


time: Tue Mar 02 17:11:53 EST 2004 

Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message