Hell0,
I have a JSP application and Tomcat is used as the web server. When i try to run the program, i get an error which gets displayedin the web server....which says:
java.lang.ClassNotFoundException
racle.jdbc.driver.OracleDriver
When I compile the program i get the following error.(it is a very simple program).
package oracle.jdbc.driver does not exist
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver ());
code looks something like this...
private void outputF() throws SQLException {
try {
Class.forName ("oracle.jdbc.driver.OracleDriver"
;
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver ());
} catch (Exception e) {
System.out.println(e.toString());
}
Connection conn = DriverManager.getConnection ("jdbc
racle:karthik
xyz.itt.com:1521:db01", "info", "OraD"
;
WHat am i supposed to do?. i.e how do i estabilish the connectivity between Java and Oracle?. do i need to install something?. if so what?...
Please suggest.
Thanks!
Regards,
Karthik.
I have a JSP application and Tomcat is used as the web server. When i try to run the program, i get an error which gets displayedin the web server....which says:
java.lang.ClassNotFoundException
When I compile the program i get the following error.(it is a very simple program).
package oracle.jdbc.driver does not exist
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver ());
code looks something like this...
private void outputF() throws SQLException {
try {
Class.forName ("oracle.jdbc.driver.OracleDriver"
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver ());
} catch (Exception e) {
System.out.println(e.toString());
}
Connection conn = DriverManager.getConnection ("jdbc
WHat am i supposed to do?. i.e how do i estabilish the connectivity between Java and Oracle?. do i need to install something?. if so what?...
Please suggest.
Thanks!
Regards,
Karthik.