Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tomcat and access2000

Status
Not open for further replies.

ksrajah

Programmer
Joined
Jun 22, 2001
Messages
2
Location
GB
Hi all
Plaese can anyone help me?
my small java program works fine with Access2000 database.
but when i tring to connect with servelet always end up with [Microsft][ODBC Driver Manager] data source not found and no default driver notspecified. the code beloe which i have used
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String url = "jdbc:odbc://localhost:demotest";
con = DriverManager.getConnection ("jdbc:odbc://localhost/jdbc:odbc:demotest","shan","shan");
i have tried
("jdbc:odbc://localhost/demotest","shan","shan"); as well same.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top