• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HF: Chaper 7 Using JSP question

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hard luck Andrew.

Failure is the first step towards success!

Try it again!


Good luck
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Catch Ernie! Catch the egg! And catch this tiny ad too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic