File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ page 336(Q-6) Errata? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ page 336(Q-6) Errata?" Watch "HFSJ page 336(Q-6) Errata?" New topic
Author

HFSJ page 336(Q-6) Errata?

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3851

It's the first edition of the book and this is related with one of my previous replies here

Question says:

Given: <%@ page isELIgnored="true" %>
What is the effect?


Given answer is(E): This page declaration will only turn off EL evaluation if the DD declares a <el-ignored>true<el-ignored> element with a URL pattern that includes this JSP.

Answer D says: The JSP containing this directive should NOT have any Expression Language code evaluated by the JSP Container.

Isn't the option D is correct? Your suggestions?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Christian Nicoll
Ranch Hand

Joined: Mar 09, 2008
Posts: 106
Hi Vijitha,

i don't know the content of the first version of HFSJ, but I am sure that answer D is correct. I think that answer E is false. On the second version of HFSJ on page 322 is a small Watch-Out-Note with the title "The page directive takes priority over the DD setting!". I think this says all.

Addendum: The same question is also posted on the second version of HFSJ and the answer is there only D.
[ December 29, 2008: Message edited by: Christian Nicoll ]

SCJP 5, SCJD 5, SCWCD 5, SCBCD 5, SCJDWS 5
My SCBCD-Notes - My Hello World Webservice
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3851

Addendum: The same question is also posted on the second version of HFSJ and the answer is there only D.


Thanks Christian, then no problem.
 
 
subject: HFSJ page 336(Q-6) Errata?