struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <mart...@apache.org>
Subject Re: Basic JSTL Question...
Date Thu, 06 Nov 2003 20:26:03 GMT

"Jacob Wilson" <strutsjo@yahoo.com> wrote in message
news:20031106110406.79852.qmail@web20708.mail.yahoo.com...
> Hi...
> I would appreciate if someone out there helps me with these basic JSTL
questions...

JSTL questions should be addressed to taglibs-user, not struts-user. Please
respect the focus of this list, and any others you subscribe to.

--
Martin Cooper


>
> 1. In c:foreach how do I check whether the collection contains values???
When it has values, it iterates a loop fine... Now, if I want to specify 'No
records' how do I do that???
>
> 2. How do I check condition.s.. for eg.
>
> I wanna alternate row colors... when I do  this, it doesn't work...
> <c:when test="${ (count.index%2) != 0 }">
>   <tr bgcolor="aa">
> </c:when>
> <c:otherwise>
>   <tr bgcolor="bb">
> </c:otherwise>
> Wat's the right way to do this???
>
> Thanx.
> -Jacob
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message