How do I do "nested if" in JSTL for Java JSP?
- by user678616
I want to do something like the following:
<c:choose>
<c:when test="${empty example1}">
</c:when>
<c:otherwise>
<c:when test="${empty example2}">
</c:when>
<c:otherwise>
</c:otherwise>
</c:otherwise>
</c:choose>
Is this even possible? I get an exception thrown when trying to run.
Thank you.