I am trying to write a condition in JSTL that has several statements.
<c:if test="${!memberObj.provider && empty subscriptions or subscriptions eq false}"></c:if>
The above is not done correctly because it should contain "empty signatures or eq false subscriptions."
I would expect that I could do:
${!memberObj.provider && (empty subscriptions or subscriptions eq false)}
But the jsp page is empty when I do this. I think something is not working ...
How can I combine "and" and "or" operators in one condition in JSTL?
Thanks in advance!
source share