aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doubt on EL logical operators Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doubt on EL logical operators" Watch "doubt on EL logical operators" New topic
Author

doubt on EL logical operators

Suchitra Bhat
Ranch Hand

Joined: Dec 30, 2005
Posts: 62
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

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.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt on EL logical operators