Answer C is correct according to the book:
"Attributes bound into a session are available to any other
servlet that belongs to the same ServletContext"
I have some doubt on this statement. There is one ServletContext per web app per JVM. So, "any other servlet that belongs to the same ServletContext" would mean all servlets in the same web app. It does not feel right all servlets have access to attributes bound to a particular session, does it? I feel it should be all servlets who participate in the same session would have access to attributes bound in that particular session.
Can anybody clear it up for me?
Thanks.