aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ Ch 7 Mock Exam #6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ Ch 7 Mock Exam #6" Watch "HFSJ Ch 7 Mock Exam #6" New topic
Author

HFSJ Ch 7 Mock Exam #6

Tonyo Garcia
Greenhorn

Joined: Nov 11, 2005
Posts: 20
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.


SCJP1.4 (98%)
Stein Vom
Ranch Hand

Joined: Jul 10, 2005
Posts: 78
Ya, it should be 'D'
Sunder Ganapathy
Ranch Hand

Joined: Apr 01, 2003
Posts: 120
See the errata
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9495
    
    2

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.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Sunder Ganapathy
Ranch Hand

Joined: Apr 01, 2003
Posts: 120
Surprising . Refer http://www.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

Joined: Nov 11, 2005
Posts: 20
Thanks for the link.

It's not good if the errata list also has "errors" (not updated)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFSJ Ch 7 Mock Exam #6