Servlet to Servlet communication with two different Web servers

how to communicate Servlet to Servlet with two different Web servers
[75 byte] By [satyaprasad198a] at [2007-11-27 4:38:26]
# 1
this can be done using sendRedirect() method of ServleRequest class
gkumar_666a at 2007-7-12 9:48:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
sendRedirect() is indeed sufficient if you want to invoke another servlet by GET. If you want to use POST, you may find the Apache Commons PostMethod API useful.
BalusCa at 2007-7-12 9:48:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...