如何在jstl中使用'and'运算符检查两个变量

时间:2013-12-05 06:29:35

标签: jstl

如何检查两个变量with和condition in tag

<c:when test="${preferences.vipUsers != 'null' && preferences.vipUsers!='' && preferences.vipUsers eq 'false'} && ${FieldVipUsers_Birthday eq 'false'}">

1 个答案:

答案 0 :(得分:0)

应该是这样的:

<c:when test="${not empty preferences.vipUsers && FieldVipUsers_Birthday == false}">