Hi
I get the same if the name of the database is not taken from the
right parameter or it includes the .mdb.
String url = "jdbc:odbc:"+faculty;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection(url, "", ""); // assuming
username, password are blank
Statement stmt = con.createStatement ();
At 09:36 18/05/99 -0500, you wrote:
>You set it up as a SYSTEM DSN, right?
>
>
>James
>
>---------
>
>Hello everybody!
>I 'm trying to acess to a Ms Acess database from a Servet using JWS. I have
>set properly the odbc DSN but i still get an Exception saying that the
>DataSource is not found and that there is no Driver specified. (note:The
>connection to the same DB works properly from a java application)
>-
>
>___________________________________________________________________________
>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