• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt on EL logical operators

 
Suchitra Bhat
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

some one please tell me do logical operators of EL AND :&& and OR :|| work similar to short circuit operators in java or do they work similar to simple logical operators??

Thanks in Advance,
Suchitra
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP.2.3.6.1 Binary operator - A {&&,||,and,or} B
� Coerce both A and B to Boolean, apply operator
The operator stops as soon as the expression can be determined, i.e., A and B
and C and D � if B is false, then only A and B is evaluated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic