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
posted
0
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
posted
0
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
posted
0
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