Hi All,
I am preparing for SCWCD exam and using HFSJ for
J2EE 1.4. I am confused while having mock exam for chapter-6 (Coversational State) Question7
Ouestion
--------
7- Which statements about session attribute are true?
A- <Some statement>
B- <Some statement>
C- Attributes bound into a session are available to any other
servlet that belongs to the same ServletContext.
D- <Some statement>
I have marked the option "C" as false. In the answers of HFSJ (page 274) it is marked as true and refereing to servlet Spec. (2.4 p59)
The Spec. quote as:
"Any object bound into a session is available to any other servlet that belongs to the same ServletContext and handles a request identified as being a part of the same session."
I have marked it false because only those Servlets/JSPs can access which belong to same session. Please advise me what would you select if you find same ouestion in exam.
Thanks.