Karl is right: you don't need to use putValue() it is still there...
Cezar
On Thu, 1 Apr 1999, Karl Moss wrote:
> If you already have a value bound to the session named "object_a" binding
> another one with the same name will replace the existing value. You are
> probably seeing the valueUnbound() method being invoked on the original
> object, not the new one that you are adding.
>
> Karl.
>
> -----Original Message-----
> From: Steffen Detsch [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 01, 1999 11:47 AM
> To: [EMAIL PROTECTED]
> Subject: Unbound called by putValue()
>
>
> Hello,
>
> I have an object A that implements the HttpSessionBindingListener and
> have the following problem:
>
>
> A a = (A) session.getValue("object_a");
>
> do some work with A
>
> session.putValue("object_a",a);
>
> The putValue() method calls the unBoundValue() method.
>
> WHY ????
>
>
> Is it a bug in the servletrunner?
>
>
> Thanks,
>
> Steffen
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
Cezar Totth email: [EMAIL PROTECTED]
Fax: (401) 220 33 95
Genesys Software Romania Phone: (401) 638 49 44
Stefan Furtuna 169, sect.6
cod 77171, Bucharest
Romania
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html