全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1182
推到 Plurk!
推到 Facebook!

可以用Applet寫有關database程式嗎??

尚未結案
daizuke
一般會員


發表:15
回覆:6
積分:4
註冊:2002-09-25

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-02-08 16:38:54 IP:139.175.xxx.xxx 未訂閱
用jbuilder8寫一個簡單Applet裡面包含database,queryDataSet,tableScrollPane,jdbTable database->connection Driver:sun.jdbc.odbc.JdbcOdbcDriver URL:jdbc:odbc:web 在jbuilder8可正常執行 用htmlconv1_3_0_01.jar將Applet1.html轉換 於WEB是執行會出現以下錯誤,哪裡有錯誤請各位大大釋疑!! The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath. Stack Trace... See com.borland.dx.dataset.DataSetException error code: BASE 83 com.borland.dx.dataset.DataSetException: The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath. at com.borland.dx.dataset.DataSetException.a(Unknown Source) at com.borland.dx.dataset.DataSetException.driverNotLoadedAtRuntime(Unknown Source) at com.borland.dx.sql.dataset.Database.addDriver(Unknown Source) at com.borland.dx.sql.dataset.Database.addDrivers(Unknown Source) at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source) at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source) at com.borland.dx.sql.dataset.o.a(Unknown Source) at com.borland.dx.sql.dataset.o.d(Unknown Source) at com.borland.dx.sql.dataset.o.f(Unknown Source) at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source) at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source) at com.borland.dx.dataset.StorageDataSet.a(Unknown Source) at com.borland.dx.dataset.DataSet.a(Unknown Source) at com.borland.dx.dataset.DataSet.open(Unknown Source) at com.borland.dbswing.JdbTable.bindDataSet(JdbTable.java:2701) at com.borland.dbswing.JdbTable.addNotify(JdbTable.java:2685) at java.awt.Container.addImpl(Unknown Source) at javax.swing.JViewport.setView(Unknown Source) at javax.swing.JViewport.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source) at untitled1.Applet1.jbInit(Applet1.java:71) at untitled1.Applet1.init(Applet1.java:43) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
tgierobj
一般會員


發表:0
回覆:1
積分:0
註冊:2003-03-03

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-03-03 13:28:16 IP:211.76.xxx.xxx 未訂閱
applet在取存有關檔案,資料庫上有安全上的考量 ,所以一般來說沒有經過簽章的applet是不能直接與 database連線的,要作簽署還要用另外的工具。 通常你想網路連到資料庫最理想的用法還是用JSP, 除非必要否則不要用applet去作有限制的工作。
系統時間:2024-05-09 21:23:02
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!