Wednesday, February 10, 2021

Re: How do we make GWT accept dynamic domain name?

This means you somehow hard code the URL into your code. GWT itself doesn't do that, so it either come from your code or a third-party.
If it's coming from your code:
  • why do you do that? is the client code deployed to a different domain than the APIs it calls?
  • there are likely other ways of doing that (e.g. have the URL into the HTML host page, as a <meta>/<link> or a global variable in a <script>, and read it from your GWT app's onModuleLoad), but we'd need to know more about your problem first (see point above), and how you're currently addressing it (maybe you could show the portions of code where the URL is configured and then used?)

On Wednesday, February 10, 2021 at 8:59:45 AM UTC+1 wrote:
Hi Team,

I am a new beginner, i was thinking how can GWT accept dynamic domain address/url via GWT since GWT requires compile, dont wanna be compiling everytime we move servers. 

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment