GWT中Frame問題,setUrl之后發現在frame中并不能得到頁面。
GWT中Frame問題,setUrl之后發現在frame中并不能得到頁面。這是為什么啊。
這個肯定可以得到的,但是我用了一個比較長的url就得不到頁面內容了。顯示它加載了一段時間,然后就出現空頁面,高手指點一下吧!!!!public class FrameExample implements EntryPoint { public void onModuleLoad() { // Make a new frame, and point it at Google. Frame frame = new Frame("http://www.google.com/"); // Add it to the root panel. RootPanel.get().add(frame); } }
posted on 2011-01-03 08:18 StephenWang 閱讀(213) 評論(0) 編輯 收藏