"Synchronizing the service method will stop other threads from the same Servlet from accessing the Context attributes but it won't protect the access from a completely different Servlet or JSP"
So since browsers maintain session , new window of the same browser will also share the same session . However , a different browser altogether will create a new session... Right?
Could you explain (preferably with examples) how Request Attribute and Local variables are Thread Safe ?
Ashok Kurakula wrote:cheers