Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在开发模式中更改GWT URL_Url_Gwt - Fatal编程技术网

在开发模式中更改GWT URL

在开发模式中更改GWT URL,url,gwt,Url,Gwt,我目前正在使用GWT,当我启动服务器时,我得到以下地址 但我想用一个像这样的地址 因为有时我需要将值附加到url,例如 www.moribiz.com?用户名=asdasd 这可能吗?当然可以?gwt.codesvr=127.0.0.1:9997表示您运行应用程序。在托管模式下。删除它,然后在web模式下像那样运行http://127.0.0.1:8888/Jhy.html 那么它就是普通的网络应用了。管理您的godaddy帐户重定向到www.moribiz.com和apache以及其他您需

我目前正在使用GWT,当我启动服务器时,我得到以下地址

但我想用一个像这样的地址

因为有时我需要将值附加到url,例如

www.moribiz.com?用户名=asdasd


这可能吗?当然可以<代码>?gwt.codesvr=127.0.0.1:9997表示您运行应用程序。在托管模式下。删除它,然后在web模式下像那样运行
http://127.0.0.1:8888/Jhy.html

那么它就是普通的网络应用了。管理您的godaddy帐户重定向到www.moribiz.com和apache以及其他您需要的内容。如果你发送url,你可以得到它的值

    www.moribiz.com?Username=asdasd
    String value = Window.Location.getParameter("Username"); // asdasd

快乐编码

您需要在本地tomcat上编译和部署。然后你就可以在没有?gwt.代码的情况下击中它。。。part

ya这没问题,但我正在开发模式下工作,我需要更改此url,因为在开发模式下,如果我必须将值附加到url并使用get方法检索,我该如何做我会感到困惑,因为在我的url中,我有这个部分?gwt.codesvr=127.0.0.1:9997当我删除这个部分?gwt.codesvr=127.0.0.1:9997并运行url时,我收到一条警告消息说gwt模块“jhy”可能需要(重新)编译编辑意味着你忘记编译所需的模块。请谷歌一下,看看这个