Has anyone successfully forwarded a request and response to a
servlet residing on a different server?
We have multiple servers and want to forward some requests to a specific server. All servers run Servlets.
I thought this would work
request.getRequestDispatcher("urlToOtherServer").forward(request, response);
...but what I read is that this will only work on the same server.
I didn't want to open a URL and URLConnection to do this.
Any help or ideas appreciated.