Friday, September 10, 2010

getHostPageBaseURL inconsistent across dev/deployed modes

It seems using GWT.getHostPageBaseURL() gives me inconsistent results
depending on which mode I am in.

I expect to see something such as: http://localhost:8080/
I get that result in hosted mode.

However, when I deploy to tomcat, the same function returns:
http://localhsot:8080/<Module>

Does anyone know why this is happening? I really don't want to hack
the API results.

Thanks

-Mark

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment