gwt 1.4 學(xué)習(xí)--數(shù)據(jù)庫(kù)記錄顯示實(shí)現(xiàn)(二.2)(把源來(lái)的內(nèi)容升級(jí)為gwt1.4)
接著上一次的內(nèi)容注意事項(xiàng):
在客戶(hù)端部分,只能使用jdk的一部分
把服務(wù)端的程序?qū)懲旰螅浀迷谖募?#8220;WylpeaceSelect.gwt.xml”中進(jìn)行配置,如下代碼
<module>
。。。。。。。
<servlet path='/peaceselect' class='wylpeace.samples.select.service.PeaceSelectResultSetImpl'/>
。。。。。。。。
</module>
在eclipse中調(diào)試時(shí),會(huì)提示找不數(shù)據(jù)庫(kù)相的類(lèi),要記住做如下操作
。。。“debug”----》選中“WylpeaceSelect”----》選中“classpath”,單擊右下的“restore default entries”,再單擊“addvaced”增加源代碼目錄
如圖:



完整個(gè)代碼(eclipse):WylpeaceSelect
注意:
下載代碼后修改WylpeaceSelect.launch中的gwt包的路徑
注意加入你的數(shù)據(jù)庫(kù)包(oracle的jdbc)
posted on 2007-07-24 22:42 中東 閱讀(2544) 評(píng)論(1) 編輯 收藏 所屬分類(lèi): gwt(google web toolkit)