Srihari.Ch schrieb:
> But, my requirement is, Whatever the url we pass in my flash code:
> (i.e., URLRequest() parameter), the servlets must call successfully
> when we use either of the both url's :
> [B]http://localhost/Application.html[/B].
> [B]http://<Server-IP-Address>/Application.html[/B].

localhost is in general resolved to 127.0.0.1 which is the
local machine. Any client not running on the same machine
as the server will fail to reach the servlet/server.

> Please, help me by providing a solution.

There is no solution for this problem, as long as there is
no "do-what-I-mean extension" to the DNS-system.

> It is urgent....

I'm not sure how the above requirement came to life, but
in flash there should be a method like in Java-Applets or
GWT to get the base-URL of the page the flash is embedded
into, allowing to create the corresponding URL for the
retrieval of further data.


Regards, Lothar

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