Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

inter servlet communication

 
Gopi Krrishna
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
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?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
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 ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is essentially the same conversation going on your other post, so this one has been closed.
 
    Bookmark Topic Watch Topic
  • New Topic