I am using c:set and c:if in jsp (i am using Spring MVC 3)
<c:set var="myVar" value="${JavaClass.MY_KEY}"/>
<c:if test="${myVar == code}">
Do Somthing
</c:if>
but in this case c:if code is not getting executed.
When i give (without c:set)
<c:if test="${'ABC' == code}">
Do Somthing
</c:if>
it workes.
Can anyone tell me what i am doing wrong
Thanks