There is no if-else, just if.
<c:if test="${user.age ge 40}">
You are over the hill.
</c:if>
Optionally you can use choose-when:
<c:choose>
<c:when test="${a boolean expr}">
do something
</c:when>
<c:when test="${another boolean expr}">
do something else
</c:when>
<c:otherwise>
do this when nothing else is true
</c:otherwise>
</c:choose>