On Tue, Sep 8, 2009 at 11:55 AM, Vikas<[email protected]> wrote:
>
> For RPC communication, I need server IP address and port which is
> specified in URL.
> e.g. In 'http://10.4.6.131:8181/webClient.html' url 10.4.6.131 IP
> address and 8181 port.
>
> How to get this IP and port in GWT?
this native function might help:

public static native String getURL() /*-{
return $wnd.location.href;
}-*/;

cheers,
r

>
> Thanks in advance,
> Vikas
>
> >
>

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