If your machine 2 is not accessable (as you said), how can a servlet
or whatever access it?

Anyway, assuming  your Machine 2 is inside a firewall, you have to open
a port so that the outside can access it. Since you are using http, you need
simply open one port.

-Samuel

"Garg, Anshu (CAP, RAIL)" wrote:

> Hi All,
>
>         Firstly, let me brief you about our architecture before detailing
> the problem we are facing.
>
>         We have the Web Server (NES) installed on one machine (machine - 1).
> This machine is owned by the Internet Service
> Provider. The Application Server (servlet engine) has been installed on
> another machine (maand it is located in our premises.
> This machine also hosts the application (servlets and business logic).
>
>         The end user will be accessing the application through the web
> server. He will not have direct access to machine -2.
>
>         Suppose our home page is on machine -1. Whenever the user connects
> to the web server, he goes to the home page. In
> the home page, we specified the URL of the servlet (in the action tag),
> which is running on machine -2. We could not transfer
> control from the home page to the servlet running on machine -2, since the
> user cannot connect to machine -2.
>
>         My question is :
>
>         "Is it possible that we have a servlet running on machine - 1 and
> somehow this servlet invokes our servlet running on
> machine -2?"
>
>         We tried using RequestDispatcher interface but it can forward the
> requests to servlets running on the same machine.
>
> Regards
> Anshu.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to