• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

HFSJ Ch 7 Mock Exam #6

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This exam is found on Head First Servlets & JSP page 330 Item #6.

Given:

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 the web application's JSPs.
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 evaluation if the DD declares
a element with a URL pattern
that includes this JSP.


My answer here is "D" but the book says "E" (see page 336). I even tried this using Tomcat and the DD declaration of el-ignored is not necessary to disable EL on one JSP page.

I even looked at the errata list here but it is not an error.

Can someone please help explain why the answer is E?

Thanks.
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya, it should be 'D'
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the errata
 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

It is not there in the Errata http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed

Even I'd say the answer is D.
 
Sunder Ganapathy
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surprising . Refer https://coderanch.com/t/168153/java-Web-Component-SCWCD/certification/HF-Chaper-JSP where the author herself says it is an official errata. Thought she would have updated the errata list.
 
Tonyo Garcia
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link.

It's not good if the errata list also has "errors" (not updated)
 
Get meta with me! What pursues us is our own obsessions! But not this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic