How to use if, else condition in jsf to display image
For those like I who just followed the code by skuntsel and received a cryptic stack trace, allow me to save you some time. It seems c:if cannot by itself be followed by c:otherwise. The correct solution is as follows: <c:choose> <c:when test=”#{some.test}”> <p>some.test is true</p> </c:when> <c:otherwise> <p>some.test is not true</p> </c:otherwise> </c:choose> You … Read more