我有这样的gwt网址
http://127.0.0.1:8888/BiddingSystem.html?gwt.codesvr=127.0.0.1:9997#ForumMessage=918
当我这样做的时候
Window.Location.getParameter( "ForumMessage")
我变零?
顺便说一句,我没有明白为什么这个?gwt.codesvr = 127.0.0.1:9997在网址!!
获取URL片段(后面的部分#)调用的值Window.Location.getHash().这将返回所有"ForumMessage = 918".
getParameter() 返回查询参数,而不是URL片段.
该?gwt.codesvr=部件需要在开发模式下运行.