EL Operators


Arithmetic Operators Relational Operators
ExpressionResultExpressionResult
#{3+2-1}4 #{1 lt 2}true
#{"1"+2}3 #{"a" lt "b"}true
#{1 + 2*3 + 3/4}7.75 #{2/3 ge 3/2}false
#{3%2}1 #{3/4 == 0.75}true
#{(8 div 2) mod 3}1.0 #{null == "test"}false
Logical Operators empty Operator
ExpressionResultExpressionResult
#{(1 lt 2) and (4 lt 3)}false #{empty ""}true
#{(1 lt 2) or (4 lt 3)}true #{empty null}true
#{!(1 lt 2)}false #{empty param.blah}true