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 为不同的HTML页面设置入口点_Gwt - Fatal编程技术网

Gwt 为不同的HTML页面设置入口点

Gwt 为不同的HTML页面设置入口点,gwt,Gwt,我正在使用Window.Location.replace(“newURL”)更改我的html页面; 现在我想为html页面设置Entrypoint类 “新网址” 谢谢 Aman对于使用备用入口点的GWT模块,newURL的HTML内容可以简单地包括nocache.js文件 或者,您可以使用多个EntryPoint类型编译单个模块,其中每个EntryPoint检查当前页面的url,以确定是否应该执行任何操作

我正在使用Window.Location.replace(“newURL”)更改我的html页面; 现在我想为html页面设置Entrypoint类 “新网址”

谢谢


Aman

对于使用备用
入口点的GWT模块,
newURL
的HTML内容可以简单地包括
nocache.js
文件

或者,您可以使用多个
EntryPoint
类型编译单个模块,其中每个
EntryPoint
检查当前页面的url,以确定是否应该执行任何操作