the common way is to use URLConnection. see chap. 15 of E.R. Harold's
Network Programming 2nd Ed.
robert young
> -----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 10: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