Servlet to Servlet communication(different servers)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pavan_Danthala
Posted On:   Thursday, March 29, 2001 02:06 PM

I need to do a post from a servlet on my webserver to another servlet which is on some other external server.
How do I do this?

Re: Servlet to Servlet communication(different servers)

Posted By:   AlessandroA_Garbagnati  
Posted On:   Thursday, March 29, 2001 02:36 PM

Pavan,

One possible solution is to open an URLConnection (maybe an HttpURLConnection) and post all the data and wait for the answer.
Check out java.net.URLConnection;
About | Sitemap | Contact