This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm trying to write a servlet that will connect to an oracle database and display records. However for the past 2 weeks I've been stuck, and just can't seem to get it to work. Has anyone done this before? I've installed the drivers from the cd with the oracle installer, set the classpath to point to the classes111.zip file, and set my path to point to the lib folder. Do I need to do anything else? In my code, I've registered the driver with the line: DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver() When I compile, I get an error 302 - cannot access class oracle.jdbc.driver.OracleDriver What have I forgotten to do? Annette