I have a condition where I have an enrollment form in which if userid is 0 it should show the dummy image and when I edit user from any update, I check for if userid which is no
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:
some.test is true
some.test is not true
You can add additional c:when tests in as necessary.