I am using Tomcat as a web server and using JDBC-ODBC bridge.
It is not that the security permissions are not set properly. I claim so as the same applet is doing the file input and output operations quite efficiently. It is creating problems only while accessing the database(that too while accessing through browser only, not through appletviewer). Is it due to the JDBC-ODBC bridge? Should I use type 3 or 4 pure Java Drivers for accessing the database? Is it must to use type 3 or 4 pure java drivers?
I tried to run an evaluation version of type 4 pure java driver. But I failed to use it successfully, although I went through the manual thoroughly. Could you suggest some FREE type 3 or 4 pure java drivers? Where from I can download those FREE drivers?
Hello, well u are using applet and applet can read and write files of its own directory but applet cannot acess any file out of its directoryand it gives exception ,well in tomcat or any other server if applet is accessing file in another directory the u have to give rights in java policy file or in Tomcat you can give in catalina .policy file, when there is a database connecetion with applet please check wheteher you have give datasource reference in server.xml or not. Well do mail if u need any help. Thanks
What a stench! Central nervous system shutting down. Save yourself tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss