Hi,
I'm using struts 1.0.
Here is the case that I want to do OR two conditions.
For Eg. like this
If ( user_role.equal("guest") || user_role.equals("temp") )
{
then do something....
}
How should I do it.
if I try to use struts:logic tag, I'm unable to make it.
Doing this ->
<logic:equal name="user_role" value="guest">
<logic:equal name="user_role" value="temp">
.......
</logic:equal>
</logic:equal>
This gives me AND conditions.
Is there any way I can OR the conditions ?
Pls help me out in this case.
raju