Which JSTL code snippet produces the output “big number” when X is greater than 42, but
outputs “small number” in all other cases?
A.
<c:if test='<%= (X > 42) %>’>
<c:then>big number</c:then>
<c:else>small number</c:else>
</c:if>
B.
<c:if>
<c:then test='<%= (X > 42) %>’>big number</c:then>
<c:else>small number</c:else>
</c:if>
C.
<c:choose test='<%= (X > 42) %>’>
<c:then>big number</c:when>
<c:else>small number</c:otherwise>
</c:choose>
D.
<c:choose test='<%= (X > 42) %>’>
<c:when>big number</c:when>
<c:otherwise>small number</c:otherwise>
</c:choose>
E.
<c:choose>
<c:when test='<%= (X > 42) %>’>big number</c:when>
<c:otherwise>small number</c:otherwise>
</c:choose>
Explanation: