Servlet to call another Servlet?



Hi,

Is it possible to have a Servlet on Server A call a Servlet on Server B
(both running single instances of an identical webapplication) without using
a Proxy setup? For example, if a request comes into Servlet (on server A) I
want the servlet on server B to handle the request at address
http://serverB/servlet/servletB...


The goal is to have Servlet B handle the request fielded by Server A, and
have the result passed back to the client via server A. Server B is not
visible to the client web browser.

Thanks for any tips.

Farce.


.



Relevant Pages

  • Re: Http POST requests changed to GET by proxy?
    ... between the applet and the servlet engine. ... When our applet creates a HTTP connection to the server it uses ... unknown and creates an HTTP GET request, thus doGet will be called on ...
    (comp.lang.java.programmer)
  • Re: Hide URL inside a JSP page.
    ... >Better still, just implement a basic model view controller arhitecture, ... >and let your controller servlet do the work. ... The request is going to the server, through an applet which is embedded ...
    (comp.lang.java.help)
  • Re: Persistent servlets & inter-servlet communication
    ... a servlet does not get destroyed at the end of a request. ... container re-uses a servlet instance (1 and only 1, ... servlet from somewhere else on the same application server? ...
    (comp.lang.java.programmer)
  • Re: Hide URL inside a JSP page.
    ... >>Better still, just implement a basic model view controller arhitecture, ... >>and let your controller servlet do the work. ... > The request is going to the server, through an applet which is embedded ... > want to pass it to the server. ...
    (comp.lang.java.help)
  • Re: ServletOutputStream to Browser OK in NS, but not IE??
    ... >> I am replacing a Netscape Application Server appLogic with a servlet. ... >> the current browser session), but always pops up the file download box ... > client accepts and processes the messages via his user agent. ...
    (comp.lang.java.programmer)