首页 > 学院 > 开发设计 > 正文

JSTL表达式 <c:if 明明相等确不执行

2019-11-14 13:14:27
字体:
来源:转载
供稿:网友

这应该是JSTL的问题.这个问题真的很蛋疼

 <c:if test="${pd1.postIntroduction==111 }       ">  这里多几个空格是不可以执行成功的.   ${pd1.postIntroduction } </c:if>

 <c:if test="${pd1.postIntroduction==111 } ">  没有空格可以执行成功的.

    ${pd1.postIntroduction } </c:if>

这个问题实在恶心死人了.感觉这个JSTL问题.


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表