Re: How can I find address of the server?

2008-11-13 Thread Marian Jancar

Dobes wrote:
> Use GWT.getHostPageBaseURL() or GWT.getModuleBaseURL() to find the URL
> you came from.  Simple string manipulations should get you everything
> else you need.
> 
> Another option is Window.Location which tells you the current host,
> port, etc..
> 
> And ... read the manuals?  This information isn't that hard to find,
> is it ?

I ofcourse did, but GWT.getHostPageBaseURL() is not mentioned in the
"Communicating with a server" section, nor it is in any package this
section mentions. Read the manual yourself before you point me to it.
This information is quite hard to find.

Best Regards,
Marian

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



How can I find address of the server?

2008-11-12 Thread Marian Jancar

Hi,

I'm trying to use GWT to create a web interface for wireless embedded
devices, and due to space constrains I can't use Java on server side
and have to go with HTTP requests. How can I find the server address
in GWT?


Best Regards,
Marian


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---