Javatpoint Logo
Javatpoint Logo

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:


JSTL Core Tags5

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA