Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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.
 
What's that smell? Hey, sniff this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!