I want to use 2 conditions in a <c:if>
but i don't know if it is possible.
For example:
<c:if test="${(a.cost == b.cost) and (a.price == b.price)}" />
Some code...
</c:if>
I want to use 2 conditions in a <c:if>
but i don't know if it is possible.
For example:
<c:if test="${(a.cost == b.cost) and (a.price == b.price)}" />
Some code...
</c:if>
Use && instead of and
<c:if test="${(a.cost == b.cost) && (a.price == b.price)}" />
Some code...
</c:if>