The future belongs to those who believe in the beauty of their dreams.Dream BIG!
"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"
OCJP6, OCWCD5
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
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 ?
OCPJP 6, OCE Java EE 6 JSP and Servlets Developer, OCE Java EE 6 EJB Developer...
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
OCPJP 6, OCE Java EE 6 JSP and Servlets Developer, OCE Java EE 6 EJB Developer...
Ashok Kurakula wrote:cheers
![]()
![]()
Don't get me started about those stupid light bulbs. |