Shawn Bayern wrote: > On Tue, 25 Jun 2002, Steve Slatcher wrote: > >> If table blah had 3 records, wouldn't you expect >> >> <sql:query var="query">select * from blah</sql:query> >> <c:forEach var="row" items="${query.rows}" varStatus="status"> >> <p><c:out value="${status.count}"/></p> >> </c:forEach> >> >> to produce something like >> >> <p>1</p> >> <p>2</p> >> <p>3</p> > > Yes. > >> With RC1 I'm getting >> >> <p>1</p> >> <p>1</p> >> <p>1</p> > > I can't replicate this on Tomcat 4.0.4. What container are you > using? If you're using Resin, are you sure you're using Standard > Taglib 1.0 RC1 as opposed to Resin's own implementation?
Tomcat 4.0.3. I'll try to isolate the problem more tommorrow, but I'm off home now :-) Could you suggest a workaround? I was trying to workaround it with <c:set value="${count + 1}" var="count"/> with much the same result. I was half expecting that though (after having used XSLT). Guess I could use a scriptlet variable. Cheers Steve Slatcher -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>