expression language problem

<c:set var="test" value="${20+1}"/>

<c:if test ='param.page = 21}'>

</c:if>

hi i have to do some calculations whenparam.page equals 21. but it never reaches the code inside tehif conditionalthough the parameter im using is 21 but still not working.

where im going wrong.

thanks

[463 byte] By [aqib123a] at [2007-11-26 19:57:25]
# 1
:)perhaps there's a problem with the pound(? symbol you put un the test instead of a $and the equality operator in java is == not = which is an assignmenthope it helps
alban.maillerea at 2007-7-9 22:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
i wish i could delete this postthanks :(really stupid thing
aqib123a at 2007-7-9 22:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...