Newsgroup: it.comp.java
Titolo: JDBC CON LE APPLET

Ciao ,
ho questo problema:
ho un dialog box(LOGIN) in un applet che crea un oggetto SERVERIMPL e fa 
una chiamata ad un suo metodo (SERVERIMPL.getCode()) il quale istanzia un 
oggetto della classe DBACCESS per l'accesso a una tabella Access.
l'errore che leggo dalla console java e' riportato qui:
c'e' da dire che creando l'oggetto DBACCESS dal MAIN di SERVERIMPL tutte 
funziona
mi potete aiutare?
errore:
com.ms.security.SecurityExceptionEx[tesinaso/poker/dbAccess.<init>]: 
java.io.IOException: bad path: 
D:\class\sun\jdbc\odbc\JdbcOdbcDriver.class
	at com/ms/security/permissions/FileIOPermission.check
	at com/ms/security/PolicyEngine.deepCheck
	at com/ms/security/PolicyEngine.checkPermission
	at com/ms/security/StandardSecurityManager.chk
	at com/ms/security/StandardSecurityManager.checkRead
	at java/io/File.isDirectory
	at sun/net/www/protocol/file/FileURLConnection.connect
	at sun/net/www/protocol/file/FileURLConnection.getInputStream
	at com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
	at com/ms/vm/loader/ResourceLoader.getClassData
	at com/ms/vm/loader/URLClassLoader.findClass
	at com/ms/vm/loader/URLClassLoader.loadClass
	at java/lang/ClassLoader.loadClassInternal
	at java/lang/Class.forName
	at tesinaso/poker/dbAccess.<init>
	at tesinaso/poker/PokerImpl.controllaIscrizione
	at tesinaso/poker/Login.actionPerformed
	at java/awt/Button.processActionEvent
	at java/awt/Button.processEvent
	at java/awt/Component.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at com/ms/awt/WUIPeer.handleEvent
	at com/ms/awt/WButtonPeer.handleEvent
	at java/awt/Component.postEvent
	at com/ms/ui/AwtUIHost.postEvent
	at com/ms/awt/WUIPeer.postEvent
	at com/ms/ui/UIRoot.postEvent
	at com/ms/ui/UIComponent.postEvent
	at com/ms/ui/UIStateContainer.postEvent
	at com/ms/ui/UIButton.¤
	at com/ms/ui/UIButton.mouseClicked
	at com/ms/ui/UIComponent.handleEvent
	at com/ms/ui/UIComponent.postEvent
	at com/ms/ui/UIStateContainer.postEvent
	at com/ms/ui/UIComponent.postEvent
	at com/ms/ui/UIStateComponent.postEvent
	at com/ms/ui/UIRoot.Ä
	at com/ms/ui/UIRoot.forwardEvent
	at com/ms/ui/AwtUIHost.postEvent
	at com/ms/awt/WUIPeer.postEvent
	at com/ms/ui/AwtUIHost.processEvent
	at java/awt/Component.dispatchEventImpl
	at java/awt/Container.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at java/awt/EventDispatchThread.run
Error loading class: sun.jdbc.odbc.JdbcOdbcDriver
com.ms.security.SecurityExceptionEx[tesinaso/poker/dbAccess.<init>]: 
java.io.IOException: bad path: 
D:\class\sun\jdbc\odbc\JdbcOdbcDriver.class
Exception occurred during event dispatching:
java.lang.ClassNotFoundException: sun/jdbc/odbc/JdbcOdbcDriver
	at java/lang/Class.forName
	at tesinaso/poker/dbAccess.<init>
	at tesinaso/poker/PokerImpl.controllaIscrizione
	at tesinaso/poker/Login.actionPerformed
	at java/awt/Button.processActionEvent
	at java/awt/Button.processEvent
	at java/awt/Component.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at com/ms/awt/WUIPeer.handleEvent
	at com/ms/awt/WButtonPeer.handleEvent
	at java/awt/Component.postEvent
	at com/ms/ui/AwtUIHost.postEvent
	at com/ms/awt/WUIPeer.postEvent
	at com/ms/ui/UIRoot.postEvent
	at com/ms/ui/UIComponent.postEvent
	at com/ms/ui/UIStateContainer.postEvent
	at com/ms/ui/UIButton.¤
	at com/ms/ui/UIButton.mouseClicked
	at com/ms/ui/UIComponent.handleEvent
	at com/ms/ui/UIComponent.postEvent
	at com/ms/ui/UIStateContainer.postEvent
	at com/ms/ui/UIComponent.postEvent
	at com/ms/ui/UIStateComponent.postEvent
	at com/ms/ui/UIRoot.Ä
	at com/ms/ui/UIRoot.forwardEvent
	at com/ms/ui/AwtUIHost.postEvent
	at com/ms/awt/WUIPeer.postEvent
	at com/ms/ui/AwtUIHost.processEvent
	at java/awt/Component.dispatchEventImpl
	at java/awt/Container.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at java/awt/EventDispatchThread.run

 ha scritto nel messaggio
news:MPG.14fcb889...@news.inwind.it...


 wrote in message
news:MPG.14fcb889...@news.inwind.it...
