Where should I put the Oracle JDBC driver?

Hi everyone,

Nothing I'm getting from the Internet is helping me with my issue.  I have a JSP that is to connect and query an Oracle database.  I also have an Oracle thin driver (ojdbc14.jar).  In my JSP, I have

DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());

The JSP compiler says, "package oracle.jdbc.driver does not exist".  The JSP is located in

C:\tibco\administrator\5.3\tomcat\webapps\ROOT\custom\ajax\productdblookup\productdblookup.jsp

I'm using the Tomcat that comes with a program called TIBCO.  Given the path, where should I put the driver, so that I can start connecting to the database?  Also, must I restart Tomcat after placing the driver?

By the way, the driver works because I loaded it into my TIBCO program, and TIBCO connected like a charm.  Now if I can only get my JSP to connect too!

Thank you so much,


Jazon
LVL 3
piratepatrolAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
objectsConnect With a Mentor Commented:
C:\tibco\administrator\5.3\tomcat\webapps\ROOT\WEB-INF\lib

and restart server
0
 
piratepatrolAuthor Commented:
You rule!  :)  Thank you so much!
0
All Courses

From novice to tech pro — start learning today.