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 ]
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!
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 ]
posted 16 years ago
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).
posted 16 years ago
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 ]
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!
Cowgirl and Author
posted 16 years ago
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