aspose file tools*
The moose likes Servlets and the fly likes inter servlet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

inter servlet communication

Gopi Krrishna
Greenhorn

Joined: Feb 15, 2006
Posts: 12
From servlet1(in serverA) i want to call another servlet "servlet2" that is present in another server(ServerB) and output of servlet2 should be printed along with output of servlet1 . can you please help me out?


SCJP 1.4
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Open a URL connection to that servlet and read its output. Then format the output the way you want. What kind of data is the servlet B going to return ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61426
    
  67

This is essentially the same conversation going on your other post, so this one has been closed.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: inter servlet communication