The Utility tags provide functionality that might be useful to you.
Example:
<util:If predicate="<%= x == 5%>">
...
</util:If>
Brett
-----Original Message-----
From: Amos Shapira
Sent: 2001-05-29 (화) 오전 4:15
To: '[EMAIL PROTECTED]'
Cc:
Subject: If/Else tag?
Hello,
Does anyone know if an how can I get a simple if/else pattern
using the
Jakarta
taglibs?
I could think of a switch/case pattern (with the most basic form
"switch"ing
on a
boolean value) to simulate this, but there is no switch tag
either.
Is there another standard way to achieve this using the existing
tags?
I'd also welcome pointers to other taglibs which provide this
option.
Thanks,
--Amos
winmail.dat