from windows .....
go to control panel ...to ODBC DataSources ...
Click on Add ..select MicrosoftAccessDriver ..click finish ..give the
datasource name say mydata
and select the database .

to access the data in ur program
1.load the driver using Class.forName("sun.jdbc.odbc.JdbcOdbcDriver);
2.get connection Connection con
=DriverManager.getConnection("jdbc:odbc:mydata");

I havent tried from LInux .

If u are not clear please let me know
thanx

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Bradley McLain
Sent: Thursday, March 16, 2000 9:25 AM
To: [EMAIL PROTECTED]
Subject: Re: Help file mdb


use jdbc.odbc..

>From: Jos� Garrido Carrillo <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Help file mdb
>Date: Tue, 14 Mar 2000 12:29:32 +0100
>
>
>     Hi...
>
>     I have a Access database (employment.mdb)...
>
>     How can I access to database from java???
>     from Linux??
>     from Windows??
>
>     Thanks in advance.
><< pgarrido.vcf >>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to