thanks for the help...
I stored an Object
java.sql.Connection
The problem is, that when the connection to the database
is established, the object don't persist after a reload.
Before the connection, it PERSIST.
This kind of object is serializable ???
when i test ...
if(Connection instanceof Serializable)
System.out.println("ok");
else
System.out.println("no");
"Ok" is printed.
The solution is use Hashtable, and then serialize
all the objects that have problems ???
Please a sample to manage persistent Connection Object.
Thanks in advance...
-----Mensaje Original-----
> De: Craig R. McClanahan <[EMAIL PROTECTED]>
> Fecha:Wed Jun 14 14:59:58 EST 2000
> A:
>Asunto:Re: reload
>
>Desarrollo wrote:
>
>> thanks for the help...
>>
>> I'm using Apache - Jserv - Jsdk2.0
>>
>> Yes, i'am sure that the session don't persist after a reload.
>>
>
>Which version of Apache JServ? My understanding is that session persistence across
>reloads *is* supported in the current version (1.1), as long as your session
>attributes implement the Serializable interface. This will also be true of the
>upcoming Tomcat 3.2 release, with the same restriction.
>
>>
>> In the real world how the servlets sites manage this problem??
>>
>> Thanks
>>
>
>Craig McClanahan
>
>___________________________________________________________________________
>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
>
---------------------------------------------------------------------------
Visite nuestro sitio web y obtenga m�s informaci�n http://www.e-professional.to
___________________________________________________________________________
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