当试图通过jQuery注入ScriptInjector时,当通过JSNI调用$wnd.:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid:289)
ScriptInjector.fromUrl("http:/&
我想将ajax (从web服务检索数据)注入到由GWT生成的html代码中。 我尝试使用ScriptInjector注入jQuery的cdn和我的脚本。下面是我是如何将cdn注入到我的html头部的: Element head = Document.get().getElementsByTagName("head").getItem(0);
ScriptElement下面是我尝试注入脚本以从我的web服务获取数据的方法: S