Hello,
how can I connect to a local db2 database (Personal Edition) out of a servlet in tomcat???
I copied the driver classes (db2java.zip)in common/lib directory. but when I call
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
Connection my_con = DriverManager.getConnection("jdbc:db2:my_project","my_login","my_password");
I became a ClassNotFound Exception...
In a simple Java Application the same code lines fit well...??? What is wrong with my tomcat configuration?
Greetings
how can I connect to a local db2 database (Personal Edition) out of a servlet in tomcat???
I copied the driver classes (db2java.zip)in common/lib directory. but when I call
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
Connection my_con = DriverManager.getConnection("jdbc:db2:my_project","my_login","my_password");
I became a ClassNotFound Exception...
In a simple Java Application the same code lines fit well...??? What is wrong with my tomcat configuration?
Greetings