<c:choose>
<c:when test="${role eq 2}">
<c:forEach items="${authorityList}" var="value">
<c:if test="${value == 2}">
<c:set var="found" value="true"/>
</c:if>
</c:forEach>
<c:if test="${found == 'true'}">
</c:if>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>
<c:when test="${role eq 2}">
<c:forEach items="${authorityList}" var="value">
<c:if test="${value == 2}">
<c:set var="found" value="true"/>
</c:if>
</c:forEach>
<c:if test="${found == 'true'}">
</c:if>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>