File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on a question in EL 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 a question in EL" Watch "Doubt on a question in EL" New topic

Doubt on a question in EL

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 437

<% int[] nums = {42,420,4200};
${requestScope['foo'][0] ne 10 div 0 }

My doubt is how is the value true?

Thanks in advance.

Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Aditya Singh
Ranch Hand

Joined: Mar 06, 2008
Posts: 62
Please refer operator precedence table,

It says Arithmatic operation hav priority over logical.
42 ne Infinity: So true.
I agree. Here's the link:
subject: Doubt on a question in EL
It's not a secret anymore!