----- Original Message -----
From: "Raghavendran_c" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

>         I think it is possible to accomplish this by "Servlet Chaining".
> thus Browser1 --> Servlet1  --> Servlet2 --> Browser1 is quite possible
with
> Servlet chaining.
> the only catch is that the browsers(client) on both side of the Servlet
> Chain must be same browser(client).

The emphasis here was the servlets are in *different domains*, so I assume
that these are in different instances of servlet engine. Hence
ServletChaining (the 2.2 way is the RequestDispatcher and 2.3 way is the
RequestDispatcher & *Filters* way )may not  be possible.

Regds,
Gokul

>
> Hope this helps.
>
> Regards,
> Raga
>
> -----Original Message-----
> From: Gokul Singh [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 10:25 AM
> To: [EMAIL PROTECTED]
> Subject: Re: post to servlet on other server
>
>
> ----- Original Message -----
> From: "Jen Hu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
>
> > post information over. In servlet B I would like to
> > render the data and send out the response. My question
> > is where the respopnse will be sent? Is the servlet A?
>
>
> HTTP is a request/response architecture. This means that you send the
> response to where you got the request from.
> In your case Servlet B sends the response to where Servlet B is invoked
from
> i.e. Servlet A.
>
>
> > I would like the servlet B send the response directly
> > back to the browser. How can I do that?
>
> I don't think that it is possible to do this. ReqestDispatcher would not
> work for you as your servlets are across different domains.
>
> Browser --> ServletA -->ServletB (different domain)--> Browser
> The above flow I think is not possible.
>
> Regds,
> Gokul

___________________________________________________________________________
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