GWT中Frame問題,setUrl之后發(fā)現(xiàn)在frame中并不能得到頁面。
GWT中Frame問題,setUrl之后發(fā)現(xiàn)在frame中并不能得到頁面。這是為什么啊。
這個(gè)肯定可以得到的,但是我用了一個(gè)比較長(zhǎng)的url就得不到頁面內(nèi)容了。顯示它加載了一段時(shí)間,然后就出現(xiàn)空頁面,高手指點(diǎn)一下吧!!!!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 閱讀(211) 評(píng)論(0) 編輯 收藏