dear Daneil,

                a better way of doing it is store the data in the records in
session variable. ( not the resultset ).
                create a hash of the data and put it into the session
variable. in the other servlet get the data.

guru


-----Original Message-----
From: Daniel Cabrera Solana [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2001 08:39
To: [EMAIL PROTECTED]
Subject: Session tracking + ResultSet


Hi all!:

I am doing a servlet which goes to a bd. After I have the ResulSet of the
query. I register this ResultQuery in the session with

session.putValue("data",name_ResultSet );

After I go to another servlet when I try to get this ResultSet the server
throws a SQL exception and I don't have anything.

Do you know what is the problem?

Could you tell an alternative way?

For examples with strings and session I have no problem I can recover
everything.....

Thanks a million, Daniel

___________________________________________________________________________
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

Reply via email to