Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in HFSJ

 
Shivakanth Thyagarajan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a question on page 336 ( mock exam) of HFSJ

<$@ page isELIgnored="true"%>
What is the effect( Choose all that apply ).

A) Nothing, this page directive is NOT defined.
B) The directive turns off the evaluation of Expression Language code by
the JSP container in all of the web application's JSP's
C) The JSP containing this directive should be treated by the JSP container
as a well-formed XML file.
D) The JSP containing this directive should NOT have any Expression
Language code evaluated by the JSP container.
E) This page directive will only turn off EL evaluating if the DD declares
a <el-ignored>true</el-ignored> element with a URL pattern that
includes this JSP.

I chose answers D and E.

Answer: E.

I want to know why D is invalid. Isn't it true by choosing the isELIgnored="true" i have asked the container to ignore all EL code for the particular JSP page.

Please respond.

Thanks
Shivakanth.T
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is in the Errata

Please correct your book.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic