尝试,
String value = com.google.gwt.user.client.Window.Location.getParameter("orderId");// parse the value to intPS GWT可以调用本机javascript,这意味着如果javascript可以完成任务,那么GWT也可以做到;例如在GWT中,您可以编写
public static native void alert(String msg);
在这种情况下,您甚至可以使用现有的javascript lib在querystring中提取param的值。



