关于EL标签中 no empty 疑惑加入判断一个list是否为空时 用 ${not empty list}个 ${... ne null} 有什么区别了 关于EL标签中 no empty 疑惑

来源:互联网 发布:mysql not exists 用法 编辑:程序博客网 时间:2024/05/22 13:26
${not empty list} 是说这个list判断有没有元素
${not null} 是判断一个list[i]的值是不是为空
empty针对的是一个集合
null针对的是一个单一的值
0 0
原创粉丝点击