Expression Language/ Comparing two parameters (JSP)
I have a pretty simple question. If I'm comparing two parameters in a JSP page using c:if, whi开发者_运维技巧ch is correct?
<c:if test="${order.id}==${item.id}">
or
<c:if test="${order.id==item.id}">
?
Second one. ${} denotes EL expression, inside which you perform comparison.
精彩评论