If both servlets are on the same server, then it is the situation of servlet
chaining.


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Kairul Nizam
Sent: Wednesday, January 03, 2001 7:41 PM
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

Reply via email to