Help wanted : databaseconnection with jdbc
Posted in 1999
Hi ! I wrote the following programm : try { Class.forName("com.informix.jdbc.IfxDriver"); } catch(ClassNotFoundException e){ System.out.println("ExceptionNNNNN :" + e.getMessage()); } try { DriverManager.getConnection("jdbc:informix-sqli://machine:port-number/dbname:INFORMIXSERVER=server") ; Statement stat = conn.createStatement(); ..... ...... } conn.close(); } catch(SQLException e){ System.out.println("Exceptionnnnnnnnn :" + e.getMessage()); } My Problem is that this applet works when it is loaded with appletviewer, but when i load it with netscape i became the following error: ExceptionNNNNN : com.informix.jdbc.IfxDriver Exceptionnnnnnnnn :No suitable driver so what i am doing wrong ? Thanks ############################################# Ali Mahdoui mahdoui@informatik.uni-kl.de ################################################