Hi Mahesh!
In the originating Servlet:
ResultSet rs1 = new .....(blah blah )
:
:
HttpSession session = req.getSession(true);
session.putValue("MyResult", rs1);
In the receiving Servlet:
HttpSession session = req.getSession(true);
ResultSet rs2= (ResultSet)session.getValue("MyResult");
Hope that's what u want!!!
Regards
Umesh
----- Original Message -----
From: Mahesh Patil <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 24, 1999 10:46 AM
Subject: Servlets
> Hi,
> Following are my queries regarding Servlets............
> How do you pass objects? across servlets,for eg. how do i pass a resultset
> from a servlet on one server to some other servlet on another server.Also
> how do i encode strings having spaces or punctuation marks ,obtained form
> the database so that they can be displayed as value in a HTML textbox &
> also be passed through URL to other pages.
>
> Please help me.
> Thanks
> Mahesh
>
>
___________________________________________________________________________
> 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