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
Here is the code that I am using:
Connection db = null;
Statement st = null;
String url = "jdbc:idb=sample.prp";
String username = "";
String password = "";
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
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.
To unsubscribe from this list, please send an
email to 'firstname.lastname@example.org' with the text
'unsubscribe instantdb' in the message body.