How to Invoke a Servlet which is there in another webserver?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sharat_N
Posted On:   Wednesday, November 14, 2001 10:47 AM

Hi

I want to call a servlet which is there in another webserver from my current servlet.

What i mean is:

I have one servlet: http://anotherhost/servlet/Register - in some other webserver.


I want to execute this servlet from my webserver servlet - say - myservlet. Register Servlet returns a String. I want to catch that String in my myservlet and want to do some other manipulations. How to do this.


Basic question is : How to exeucte a servelet which there in another webserver servlet context and get the returned result.

Thanks

Re: How to Invoke a Servlet which is there in another webserver?

Posted By:   Arun_Bharathan  
Posted On:   Wednesday, November 14, 2001 11:09 AM

It is just like any other URL connection and treat your http://anotherhost/servlet/Register as one.
About | Sitemap | Contact