Hi
I am using smartGWT 2.4 and i have a cross domain problem any solution for this issue?
I am using smartGWT 2.4 and i have a cross domain problem any solution for this issue?
public void onModuleLoad() {
RPCRequest rpc = new RPCRequest();
//rpc.setData(data);
rpc.setActionURL("http://192.186.0.2:8888/school/students?count=2");
RPCManager.sendRequest(rpc, new RPCCallback() {
@Override
public void execute(RPCResponse response, Object rawData, RPCRequest request) {
Window.alert(String.valueOf(response.getHttpResponseCode()));
Window.alert("Response is :" + rawData);
//DataSource ds = new DataSource((JavaScriptObject)rawData);
// Window.alert("hi");
}
});
}
[
Comment