Hi BAL, Thanks for reply. Does it mean synchronized(session) { session.setAttribute(..., ....); // do whatever else } ??
Leon ----- Original Message ----- From: "Brian Lee" <[EMAIL PROTECTED]> To: <user@struts.apache.org> Sent: Saturday, April 09, 2005 4:06 PM Subject: RE: How to make HttpSession thread-safe???? > You can put an object in session and lock on it using synchronized. But this > won't work over a cluster. > > BAL > > >From: "leonnewsgroup" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <user@struts.apache.org> > >Subject: How to make HttpSession thread-safe???? > >Date: Sat, 9 Apr 2005 15:26:30 -0400 > > > >Hi All, > > > >Quick question, > >What is the strategies to make HttpSession thread-safe? > >Thanks. > > > >Leon > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]