Use a database to store temp data (accessible from both the servlets), if
data to be passed is huge (or else you may use a querystring itself in the
sendredirect()) and use sendRedirect() in the first servlet.
Regards,
Partha
----------
From: Srinivasa Sai Chakravarthy V (CTC)
[SMTP:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 11:46 AM
To: [EMAIL PROTECTED]
Subject: Servlet Communication
Hi all,
Can any body tell me how to pass information between two servlets
which are
located in different servers with out using URL connection,Sockets
etc..
Is it possible to dispatch the request to a servlet located it
remote
server.As sendRedirect won't pass request information.
Please share your ideas,...
Thanks
V.s.s.chakravarthy
___________________________________________________________________________
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
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************
___________________________________________________________________________
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