Servlets that implement the SingleThreadedModel cannot share a single HttpSession Object accross multiple servlets. Correct Answer : False. I chose "True" as my answer because multiple requests can belong to the same session and there could be multiple instances of the servlets implementing SingleThreadedModel.
There ain't no trick in that. Its an error, a simple plain typo error. See my post here. Now turning to the real qstn.......... Servlets that implement the SingleThreadedModel cannot share a single HttpSession Object accross multiple servlets. Even though Servlets implement SingleThreadModel, they can still share a "session" among them. SingleThreadModel only gaurentees that there is ONLY ONE thread executing THIS PARTICULAR servlet. Thats the end of responsibility of SingleThreadModel, it doesn't have any responsibility regarding Shared resources. regds. - satya [ February 17, 2002: Message edited by: Madhav Lakkapragada ]
Take a Minute, Donate an Hour, Change a Life