• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

isELIgnored

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi shweta,
Answer should be false.
In my book its Q6 and answer is false.
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic