if etiketi
Karşılaştırma yapmak için kullanılır test niteliğine karşılaştırma ifadesi yerleştirilir.
Örnek İf
<faces> <@import prefix="c" taglib="phpf.core" type="static"/> <c:if test="#{$name=='bora'}"> <c:out value="#{$name}"/> </c:if> </faces>
İf için başkabir örnek
<faces> <@import prefix="c" taglib="phpf.core" type="static"/> <c:if test="#{$i>0 AND $i<10}"> <c:out value="sayı 10 ile 1 arasinda"/> </c:if> </faces>
İf için başkabir örnek
<faces> <@import prefix="c" taglib="phpf.core" type="static"/> <c:if test="#{$name!='bora'}"> <strong> <c:out value="Bu benim adım değil !"/> </strong> </c:if> </faces>













