I need to compare a long in JSTL!

Asked

Viewed 11 times

0

I have a code I need to check if an attribute of the class "Postodesaude" which is a long is equal to "0", but I can’t make it work.

<c:if test="${postoDeSaude.codigo eq 0}">
    <button id=button_detalhado  class="btn btn-primary" type="button" onclick="javascript:imprimeRelatorio()">Visualizar</button>  
</c:if>
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.