SyntaxFix
Write A Post
Hire A Developer
Questions
Class.forName("oracle.jdbc.driver.OracleDriver");
This line causes ClassNotFoundException, because you haven't placed ojdbc14.jar file in your lib folder of the project. or YOu haven't set the classpath of the required jar
ClassNotFoundException
ojdbc14.jar
classpath