I am new to struts and I saw below code in my current project
<logic:equal name="USER" property="readOnlyRole" value="false" >
is USER in name="USER"
a bean object? above code means USER.isReadOnlyRole
right?
I want to implement a OR condition here, how would I do that for above condition. I know I can use jstl choose
tag. Is following code correct replacement of above?
<c:choose>
<c:when test="${USER.isReadOnlyRole == 'false'}">
False
</c:when>
<c:when test="${USER.isReadOnlyRole == 'true'}">
True
</c:when>
</c:choose>