wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HF: Chaper 7 Using JSP question 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 "HF: Chaper 7 Using JSP question" Watch "HF: Chaper 7 Using JSP question" New topic
Author

HF: Chaper 7 Using JSP question

Andrew Esse
Greenhorn

Joined: Aug 27, 2004
Posts: 18
Coffee Cram Question 6

Given <%@ page isELIgnored="true" %>, what is the effect?

Answer: E. This page directive 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.

If this is the case, wouldn't the second to last column in the Evaluation Matrix (page 325) be in error? The matrix says the if el-ignored is false, but isELIgnored is true, then EL will be ignored. I am wondering which is right, or if they are both right and I am just confused? How can the page directive turn off EL evaluation if it was already turned off in the DD?
[ September 23, 2004: Message edited by: Andrew Esse ]
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
You're correct -- question 6 is an *official* errata-- the answer should be "D" and not "E".

Sorry, we'll try to post the official list of errata, but so far the main things are:

1) The question you mentioned, #6 in Chapter 7

2) Be the Container in chapter 8, the third example will not work for the same reason that the first example doesn't work--because the attribute is at Request Scope, and the default scope is Page scope.

3) Pg. 114, upside down text should say "Post is considered NOT idempotent".

4) The one you found earlier, Question 5 in the Filters chapter, the book says the answers are "A" and "G", but "D" should ALSO be marked as a correct answer.

and finally... the worst one of all...

5) We spelled Philippe Maquet's name wrong on page xxxi. We spelled it correctly on page xxx, though, so we had it right 50% of the time.

I'd say you're doing very well Andrew. The fact that you're questioning these is a good sign. And since you're already on the Filters chapter... looks like you're just about done!

cheers and good luck (and thank-you),
Kathy
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi Andrew,

Yes you're doing *very* well!

The job of assembling a book must be a very difficult task, because the authors didn't make any of the mistakes (except number 2, and we missed it too) that Kathy mentions above. They all are post-editing ones.

Thank you again for your feedback!

Phil.
[ September 23, 2004: Message edited by: Philippe Maquet ]
Andrew Esse
Greenhorn

Joined: Aug 27, 2004
Posts: 18
Thanks for the answer and the vote of confidence. I don't feel very confident in my ability to pass this exam, but I guess that doesn't matter because I am taking it in 45 minutes regardless. I am drinking lots of water and praying like heck - my job really does depend on my passing this exam today (or so I was told).
Andrew Esse
Greenhorn

Joined: Aug 27, 2004
Posts: 18
Well, I failed the test with a 60% (42/69) Fortunately, I have been given a second chance and this time I will succeed.
[ September 24, 2004: Message edited by: Andrew Esse ]
Bahadar Khan
Ranch Hand

Joined: Jun 19, 2003
Posts: 81
Hard luck Andrew.

Failure is the first step towards success!

Try it again!


Good luck
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi Andrew,

I feel sincerely sorry to hear that... And you were *so* close to pass!
Fortunately, I have been given a second chance and this time I will succeed.

Of course you will!

Good luck,

Phil.
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
OK, True Confessions time, Andrew.

I failed my very first SCJP exam in 1997! I took it again two weeks later and passed with a *decent* (not great) score. I had been required by Sun to take/pass the exam *before* coming to my job interview, and they gave me two weeks for my initial preparation. Prior to that I'd been doing some Java development (in Java 1.02), but the exam was on Java 1.1, and I had been doing only Applets and really didn't understand enough of the language, and obviously not *nearly* as much as I thought I did. In fact, it was my bad experience on the exam is what led me to start javaranch. At that time, I was on discussion forums on newsgroups (like comp.lang.java) and it was really rough.

On the exam that I failed, my score was about as close as you were on this one. I realized *after* I took it that I just hadn't had quite enough time to let the material really sink in. I was getting *somewhat* decent scores on mock exams at the time I took the actual exam, so I actually *did* expect that I'd pass... barely, but I didn't.

So hang in there!!
This exam is much more involved and WAY more difficult than the previous (1.3) version of SCWCD. People are struggling with it and, believe me, during the creation of the exam the guy who was the lead of the JSP spec mentioned that HE would have trouble passing it... because it involved SO many areas that he didn't usually deal with in his daily development life.

Don't forget we're all here to help you, and you're in a very special "elite" group of those who took TWO tries to pass one of these exams I count myself as a leading member of that special club--welcome to the group!
-Kathy
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
Hmmm, special club... I paid twice for my SCWCD too. Except that I didn't fail the first attempt. It had a no show status. There was a mix up in the exams date by a month.

So do I belong to that special club too?


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HF: Chaper 7 Using JSP question
 
Similar Threads
Mistake in HF servlets?
HFSJ Mock exam 7 Q6 page 336
Doubt in HFS in chapter 6
Doubt for a question in Head First ervlets and JSP book
use of el-ignored in the page directive