I'm new to Java in general. I downloaded InstantDB
(100% Java RDBMS - http://www.instantdb.co.uk) and
have it working through the GUI interface.

However, I am unable to connect to is via JSP.

Here is the code:

<%
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.

Thanx for the help.

Jeff Douglas
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to