InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to find class jdbc.idbDriver


I'm new to Java in general. I downloaded InstantDB and have it working
through the GUI interface (JDBCmain). The idb.jar is also in the CLASSPATH
environmental variable. However, I am unable to connect to is via a JSP
page.

Here is the code that I am using:

<%
Connection db = null;
Statement st  = null;
String url = "jdbc:idb=sample.prp";
String username = "";
String password = "";
%>

<%
Class.forName("jdbc.idbDriver");
db = DriverManager.getConnection(url, username,password);
st = db.createStatement();
ResultSet rs = st.executeQuery("SELECT * FROM Users");
%>

The error is: "Unable to find class jdbc.idbDriver"


I tried using <%@ page import="jdbc.*" %> but received
a similar error message: "Package jdbc not found in
import."

How do specify and locate a specific driver? Does it
have to be in the CLASSPATH or something. I'm using the Java Web Server 2.0.

Thanx for the help.

Jeff Douglas

To unsubscribe from this list, please send an
email to 'majordomo@smartcard.co.uk' with the text
'unsubscribe instantdb' in the message body.