struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gao, Gang" <gang....@verizon.com>
Subject RE: session.setAttribute() don't work sometimes
Date Mon, 10 Sep 2001 22:00:20 GMT
Ram,
Thanks a lot. I have fixed it. Your hint is very helpful.
Gang

-----Original Message-----
From: Palamadai Sriram [mailto:palamadai.sriram@s1.com]
Sent: Monday, September 10, 2001 9:13 AM
To: struts-dev@jakarta.apache.org
Subject: RE: session.setAttribute() don't work sometimes


Gang,
The second time if the value of the Id is null then it will over write the
value you set the first time as the session keeps only one value of the
attribute, in your case ID. Also there is no need to get and re set the
attributes on the sessions as they are valid for the duration of the
session.
Ram
 


Mime
View raw message