Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSP-Oracle Connectivity, using Eclipse WTP for development
JSP-Oracle Connectivity, using Eclipse WTP for development [message #183171] Fri, 24 November 2006 10:31
Eclipse UserFriend
Originally posted by:

Dear All,
My database is Oracle9i Release - Production.
I am using Eclipse WTP R-1.5.2-200610261841-win32.
I have coded as follows to connect to Oracle from a JSP.

con = DriverManager.getConnection(
"jdbc:oracle:thin:@", "user","pass");
stmt = con.createStatement();
rs = stmt.executeQuery(mquery);

I also tried the following things:
Added ojdbc14.jar as an external jar to java build path of project.
Copied the same file to
Used import statement as
<%@ page import="oracle.jdbc.driver.*"%>

But still I am getting
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

What may be the problem?
Please help.
Previous Topic:How to use the tcp/ip monitor
Next Topic:Created test-client does not run: JSP compile error: axis.jar not found
Goto Forum:

Current Time: Sun Jun 20 22:13:28 GMT 2021

Powered by FUDForum. Page generated in 0.02071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top