el expression implementations like, does not contain

el expressions are forward TRANSFERRED background value, front desk reception method, there are many special usage summary record it:

el expression to compare for equality

  1.el expression and comparison of the value of equality

<C: if test = "$ {defaults == '1'}"> <div> default address </ div> </ c: if>;

${ addressEntity.id!=null}

  2.el expression and the expression el comparison for equality

<c:if test="${obj.id eq obj2.id}">

 

Compare contain java background

A.contains(B)

A comparison is whether containing B, if B is part of the A

 

Guess you like

Origin www.cnblogs.com/hardwork1/p/8182856.html