10.22 EL执行表达式

10.22

EL执行表达式${num1&&num2}

&&     ||     !     <      >     <=     >=      ==

&&     and

${num1&&num2}<br/><%-- 结果:false --%>
${num1 and num2}<%-- 结果:flase --%>

 ||       or

 !     not

 ==     eq

!=       ne

<        lt

>        gt

<=      le

>=      ge

 

empty    1、变量为null   2、长度为0的String      3、size为0的集合

 

posted @ 2020-10-22 19:40  不会编程的肉蛋葱鸡  阅读(44)  评论(0编辑  收藏  举报