Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Doubt in HFSJ  RSS feed

 
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
 
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!