Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6364649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:11:30+00:00 2026-05-25T00:11:30+00:00

I would like to know why GWT doesn´t work without the argument ?gwt.codesvr=127.0.0.1:9997 in

  • 0

I would like to know why GWT doesn´t work without the argument ?gwt.codesvr=127.0.0.1:9997 in the url, I´m redirecting between modules hardcoding the url´s and I have to set this line not to be shown the message: Module XXX Must be (re) compile.

I hope not to have to change this urls in the future when I would change from host mode to we mode…

So is there any better way to link from a module to the other one? I´m doing with:

GWT.getHostPageBaseURL() + "UserRegistration.html ?gwt.codesvr=127.0.0.1:9997 "

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:11:30+00:00Added an answer on May 25, 2026 at 12:11 am

    That query-string argument is looked at by the *.nocache.js to trigger loading the dev mode plugin you installed in your browser, so it connects back to the designated DevMode app.

    When you have to redirect between pages and you want them to all run either in dev mode or web mode, the easiest is to condition the argument (if possible with the value taken from the existing one, rather than hard-coded) to !GWT.isProdMode():

    if (!GWT.isProdModode()) {
       // assumes 'url' doesn't contain a query-string yet
       url += "?gwt.codesvr=" + Window.Location.getParameter("gwt.codesvr");
    }
    

    If you don’t use a query-string yourself, so it’s only expected to ever exist with the gwt.codesvr parameter or be absent, you can make it even simpler using a UrlBuilder:

    UrlBuilder builder = Window.Location.createUrlBuilder();
    builder.setPath(GWT.getHostPageBaseURL() + "UserRegistration.html")
    //don't pass the history token around:
    builder.setHash(null);
    // builder.toString() will then keep the same query string.
    

    and it’s not even conditioned to the current “mode” the app is run in, as it just, unconditionally, copies the query-string around.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know the difference between GWT, GWT-RPC, EXT-GWT and Smart GWT.
I have started learning GWT and I would like to know if it is
I would like to know which is the Generator used by GWT compiler to
i would like know some reference. I know i can googling it. but prefer
Would like to know what a programmer should know to become a good at
Would like to know the c# code to actually retrieve the IP type: Static
I would like to know if I can open 2 different diagrams using MS
I would like to know which dependency described in my pom.xml brings a transitive
I would like to know what semaphores, messageQueues, etc... are active in my vxWorks
I would like to know what kind of tool you use for writing your

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.