as such it has to be done with RMI since you are speaking between 2
different VM's.
Regards
Ramesh Kesavanarayanan
Electronic Data Systems
Steeple Reach,
25, Cathedral Road,
91-44-811 3801 to 15 ext :2186
91-44-233 0380 (res)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-----Original Message-----
From: Kairul Nizam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 9:11 AM
To: [EMAIL PROTECTED]
Subject: Servlet to Servlet communication Using HTTP
Hello,
I am looking for a way to call a
servlet(getDataSevlet) that will connect to database
on a different machine(the servlet and database are in
the same machine) from a servlet(transformServlet)
hosting in the web server(another machine). Can it be
done in the HTTP method using the response and request
object where the former servlet(getDataServlet) will
return the result of the query to the calling
servlet(transformServlet)? It is possible? Or do I
have to do it using RMI?
thanks,
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
___________________________________________________________________________
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