83
JSTL Core <c:if> Tag
The < c:if > tag is used for testing the condition and it display the body content, if the expression evaluated is true.
It is a simple conditional tag which is used for evaluating the body content, if the supplied condition is true.
Let’s see the simple example of c:if tag:
Output: