aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes isELIgnored Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "isELIgnored " Watch "isELIgnored " New topic
Author

isELIgnored

shweta bulbule
Ranch Hand

Joined: Mar 24, 2006
Posts: 30
is this statement true:
"the page directive <%@ page isELIgnored="true"%> will only turn off EL Evaluation if the DD declares a <el-ignored>true<el-ignored> element within the URL pattern that includes this jsp"

Marked as correct in HFSJ Page 336 Q7.


Thanks,<br />Shweta
chani singh
Greenhorn

Joined: Mar 23, 2006
Posts: 17
Hi shweta,
Answer should be false.
In my book its Q6 and answer is false.
Madhu Sudhana
Ranch Hand

Joined: Apr 16, 2006
Posts: 127
More priority is given to the page directive isELIgnored

U can ignore the EL in the whole application and U can enable in the specific pages


"And the trouble is, if you don't risk anything, you risk even more." -- Erica Jong.
Akshay Kiran
Ranch Hand

Joined: Aug 18, 2005
Posts: 220
the page directive overrides the values specified in the DD.
therefore if this attribute is mentioned in the jsp,
the EL evaluation will unconditionally depend on the value of the attribute.
in other words,
if there's a <%@ page isELIgnored="true"
then EL is igrnored
if its value is false,
it is evaluated- as simple as that, the only variations come when there's no isELIgnored attribute mentioned in the page directive, in which case, the value in the DD decides what is to happen- and if even that is absent, the default value is taken- i.e EL IS evaluated.


"It's not enough that we do our best; sometimes we have to do<br />what's required."<br /> <br />-- Sir Winston Churchill
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: isELIgnored
 
Similar Threads
isELIgnored and el-ignored
These condition is not mentioned at page no. 322 in HFSJ.
El ignored doubt
Doubt on isELIgnored
isELignored doubt