Hi,

what do you mean with "reload of a class" ? The reload of
servlet classes and the restart of the server ?

In this case your only choice is to store the session parameters
into some database or the file system.

But after the restart you will have the problem to find the right
informations for the right sessions.

-Henning

Desarrollo wrote:
>
> hi...
> i manage persistence between request ...like this...
>             HttpSession session = request.getSession(true);
>             MyClass cart =
>                 (MyClass)session.getValue(session.getId());
>             if (cart == null)
>             {
>               cart = new MyClass();
>               session.putValue(session.getId(), cart);
>             }
> When i reload a class, the persistence session will lost...
> How i manage this problem ????
> please help.....
>
> ------------------------------------------------------------------------------------
> Obtenga su direcci�n de correo gratuita en http://serverlx.gye.ramt.com/servlets/mail
>
> ___________________________________________________________________________
> 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
begin:vcard
n:Brune;Henning
tel;fax:+49 (0)5 21/1 06-64 40
tel;work:+49 (0)5 21/1 06-29 48
x-mozilla-html:FALSE
org:Universitaet Bielefeld;Technische Fakultaet, AG TI
adr:;;Postfach 100131;Bielefeld;NRW;33501;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Inform.
fn:Henning Brune
end:vcard

S/MIME Cryptographic Signature

Reply via email to