Originally posted by Chunnard Singh II:
Im new to JSPs in general. Why cant you use some kind of <c:if> thing and have a different font colour?
That's pretty much exactly what is going on in Ben's example except that the ternary operator is being used rather than a <c:if>. Since all that is going to be changed is the value of the
class attribute, there's no need to for a heavy-weight tag to perform the conditional operation.
[ October 29, 2007: Message edited by: Bear Bibeault ]