tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: How to break a loop in JSTL c:foreach
Date Wed, 11 Sep 2002 12:08:57 GMT
On Wed, 11 Sep 2002, Eric Du wrote:

> I've read the jstl spec. in detail and don't find a way to do it. And
> I guess it's not supported by jstl. Am I right?

Right.  You can instead use <c:if> to prevent the body from running.

There isn't a good way, using the JSP 1.2 tag-extension API, to break a
loop; thus, while we didn't dislike the idea, we found it to be
effectively unimplementable.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message