Why not use jstl?
<c:if test="${user.key eq 1 || user.key eq 2}">
do something...
</c:if>
nathan
On May 25, 2004, at 1:15 PM, Ciaran Hanley wrote:
Can the struts logic tags be used to perform OR Logic?
For example instead of
<logic:equal name="user" property="key" value="1">
...do this
</logic:equal>
<logic:equal name="user" property="key" value="2">
...do this
</logic:equal>
<logic:equal name="user" property="key" value="3">
...do this
</logic:equal>
<logic:equal name="user" property="key" value="1 OR 2 OR 3">
...do this
</logic:equal>
Any ideas anybody?
Thanks
CH
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]