struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arik Levin ( Tikal )" <>
Subject RE: Basic JSTL Question...
Date Thu, 06 Nov 2003 11:14:55 GMT
1) See operators (empty)

2) it goes : <c:choose> <c:when></c:when> <c:otherwise></c:otherwise>

-----Original Message-----
From: Jacob Wilson [] 
Sent: Thursday, November 06, 2003 1:04 PM
Subject: Basic JSTL Question...

I would appreciate if someone out there helps me with these basic JSTL
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">
  <tr bgcolor="bb">
Wat's the right way to do this???


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

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

View raw message