Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

isELIgnored

 
shweta bulbule
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
chani singh
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi shweta,
Answer should be false.
In my book its Q6 and answer is false.
 
Madhu Sudhana
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Akshay Kiran
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic