JSTL c:if test为true却不执行的问题
JSTL为true却不执行问题所在
<c:if test="${not empty msg } ">
<span style="color:red">${msg }</span>
</c:if>
找了我1个小时总算找出问题所在!${not empty msg }后面的空格删掉就执行了!!!一定不能有空格!!!
<c:if test=
原创
2019-02-22 22:37:58 ·
2339 阅读 ·
0 评论