el表达式判断字符串相等
Java code
1
|
${
"a"
==
"a"
} ${
"b"
eq
"b"
}
|
都可以
<c:if test = "${list.name eq '门票 '} "> </c:if>
字符串对比要用eq,后面要加单引号