I’m trying to compare two different object in JSF.
A String and an Integer, of cours it don’t work…
//myVar ==> Integer object
//myVar2 ==> String
<c:if test="${myVar == myVar2}">
YES!!!!!!!!
</c:if>
I try with myVar.toString but it’s wrong.
So how to do it ?
Thank’s
That does not sound right – I would check the values. For the bean:
…these example expressions evaluate to true:
The JSP 2.1 (EL) spec says of evaluating equality: