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?

(By the way, RC1 has been replaced with a final 1.0 release, but the
iteration tags were not changed between the two, so I don't suspect that's
the problem.)

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to