Actually, it can.

The ability to do this, however, relies on making the request in an
iframe or (in GWT widget parlance) a Frame object. There are
complications associated with this methodology, and using the server
to proxy requests is probably a lot easier, but may not always be
possible for political/other reasons.

On Aug 30, 9:19 am, Sri <[email protected]> wrote:
> Simply put, it can't be done.
>
> Cross Domain restrictions require that javascript code only
> communicate with the server from which it originated. So, all RPC
> requests that you make must go to the same server.
>
> However, you can have a simple facade on your server. You can let your
> webserver simply proxy requests to a different server where you can
> take appropriate action. Something like /update proxies to servera.com
> and /delete proxies to serverb.com. To the browser, it is always the
> same web-server, so no cross-domain issues.
>
> On Aug 28, 9:11 am, Ganesh <[email protected]> wrote:
>
>
>
> > Hi
>
> > I am working on a GWT application. In this, what my client needs is I
> > send calls to different servers on basis of request types.
>
> > Suppose there are 4 request types SELECT/INSERT/UPDATE/DELETE on basis
> > of operation to be performed on server. If request type is SELECT, we
> > need to send request to SERVER_1 and if request type is INSERT, UPDATE
> > OR DELETE, we need to send request to SERVER_2.
>
> > Now my question is how to send call to 2 different servers through
> > same client window.
>
> > Please help....
>
> > Ganesh Bansal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to