Connecting to Oracle from JSP via JDBC
Posted on 2002-03-27
I am trying to connect to an Oracle 8.0.6 database through JDBC and a JSP page.
I am running XP with JDK1.3,Tomcat 4.0 and IIS.
I have tried the following code in JSP:
Connection conn = null;
conn = DriverManager.getConnection(
I get various errors in the browser including:
Class oracle.jdbc.driver.OracleDriver not found.
SQLException: Sub Protocol must be specified in connection URL
I have changed classes files around, changed the classpath, changed the code, but everytime I get some or other error message!!
Maybe I can start with the simpler things like:
Which oracle classes file should I be using? 111,102 or 12?
I am clueless and very frustrated at this stage.
Any help will be appreciated.