check
whether driver is there in the class path used by webserver or not.
check whether u have registered the driver with Database Manger or
not in the init or static method.
Regards
sathya
-----Original Message-----
From: Mehmet Gurmen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 16, 2001 12:04 AM
To: [EMAIL PROTECTED]
Subject: ms access driver in a servlet
Hi all,
I have installed j2ee including Sun's web server on a win2K
professional.
I wrote a simple servlet that gets a resultset from an ms access 2000
database which I use the odbc-jdbc driver to connect to.
I included a main function into the servlet and the class seems to get
the
resultset when I run it within a command prompt. But when I call that as
a
servlet, it just puts into the error log "No Suitable Driver Found".
I do not think that there are any other drivers than that comes with the
j2ee form ms access. I have been developing server side applications
that
could easily connect to system dsn's but when it comes to the servlet I
get
this message. Does the servlet only accept SQL server in the dsn? Can't
I
use ms access database?
Thanks
________________________________________________________________________
___
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