aspose file tools*
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
Author

Doubt on a question in EL

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 434
Hi,

Given:
<% int[] nums = {42,420,4200};
request.setAttribute("foo",nums);%>'
${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,
http://www.informit.com/articles/article.aspx?p=30946&seqNum=4

It says Arithmatic operation hav priority over logical.
42 ne Infinity: So true.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt on a question in EL