A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Joined: Apr 07, 2005
Mar 04, 2007 18:05:00
Hi all -
In the Section 3 quiz of Marcus' study guide. Question 5 is as follows:
Which of the following statements are true?
a. Every (non distributed) web application has only one instance of
b. Every instance of
has only one instance of
object is retrieved via the getServletContext method of
object is retrieved via the getServletConfig method of
A and C are listed as the correct answers.
My question is that shouldn't B also be correct. Isn't the
available to the
via the getServletContext() method?
Joined: Oct 16, 2005
Mar 04, 2007 18:40:00
SCJP 1.4 - 95%
[ My Story ]
- SCWCD 1.4 - 91%
[ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Joined: Nov 24, 2005
Mar 04, 2007 18:55:00
Maybe the author intended to ask if every
has access to
only one common
context, which would be wrong in a distributed environment.
Maybe a subtle difference between "each instance of" and "every instance of"...
All roads lead to JavaRanch
I agree. Here's the link:
subject: Servlet Context
marcus green mock exam
HFS p825 Q49
Mock Question Doubt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014