Query related to
Jsp page directive isELIgnored
Please refer to HF
Servlets and JSP 1.4 , page 336. Question 6. The question is what is the effect of the page directive:
<% page isELIgnored="true" %>
Its says option E is correct which indicates that he page directive will only turn off EL evaluation if the DD declares a
<el-ignored>true</el-ignored> element with a URL
pattern that includes this JSP.
This option does not look correct to me. My understanding is page directive
takes priority over the declaration in DD, so even if the DD does not
declare any thing related to "el-ignored" and page directive says to ignore EL, EL will be
ignored, what do you say?
I know the errata at
http://oreilly.com/catalog/headservletsjsp/errata/ The cofirmed version of errata does not list this issue.
The unconfirmed version of errata says that the above answer is wrong and the correct
answer is
"option D - The JSP containing this directive should not have any EL code
evaluated by the JSP container."
To me this answer also does not look correct as you can have EL Code only thing it will
not be evaluated.
So, per my view none of the options are correct for this.
kindly post your comment and then I will submit an errata based on the discussion.
neal