Tao Lee

Greenhorn
+ Follow
since Aug 08, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tao Lee

The following could solve your problem:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn = DriverManager.getConnection
("jdbc odbc DSN", "username", "password");
(Note there should be a : between jdbc and odbc, and odbc and DSN. But if I put : there, appears.)
Here DSN is not your Access file. It is Data Source Name. You need to configure Database to associate your Access file with DSN. You may refer to Appendix C in book "JSP: JavaServer Pages" by Barry Burd on how to configure a database with Access in Windows.
TL
[ August 08, 2002: Message edited by: Tao Lee ]
20 years ago
JSP