Hi.
I've got this piece of code into a servlet:
import java.sql.*;
...
Connection conn = null;
try
{
Class.forName("oracle.jdbc.driver.OracleDriver"
conn = DriverManager.getConnection(
"jdbcracle:thinmyserver:1521:SID",
"system",
"manager"
When starting Tomcat, I included into startup.bat:
set CLASSPATH=%CLASSPATH%;d:\orant\jdbc\classes102.zip (it exists)
But when executing the code, I get this error message:
ClassNotFoundException: oracle.jdbc.driver.OracleDriver
What am I doing wrong?
Thank you very much.
I've got this piece of code into a servlet:
import java.sql.*;
...
Connection conn = null;
try
{
Class.forName("oracle.jdbc.driver.OracleDriver"
conn = DriverManager.getConnection(
"jdbcracle:thinmyserver:1521:SID",
"system",
"manager"
When starting Tomcat, I included into startup.bat:
set CLASSPATH=%CLASSPATH%;d:\orant\jdbc\classes102.zip (it exists)
But when executing the code, I get this error message:
ClassNotFoundException: oracle.jdbc.driver.OracleDriver
What am I doing wrong?
Thank you very much.