el表達式判斷字符串相等
Java code
1
|
${
"a"
==
"a"
} ${
"b"
eq
"b"
}
|
都可以
<c:if test = "${list.name eq '門票 '} "> </c:if>
字符串對比要用eq,后面要加單引號