----- 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