> -----Original Message-----
> From: Tec Tan [mailto:[EMAIL PROTECTED]]
> Subject: Help
>
> I am working on a school project to access a database using a servlet.
> However, I failed to get connection to the database and I'm
> not clear where
> the problem lies.
>
> Following is a message that was generated when I try to test
> the servlet.

Looks like you're not loading the driver (either setting the CLASSPATH
in the servlet properties or you're not loading a driver at all).  If
the problem is the latter, then I'd suggest that you take a look at
the JDBC section of "The Java Tutorial"

    http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html

And follow the instructions there.

If you're not setting the CLASSPATH for the servlet properly (in order
to find the driver), then you'll want to look up the documentation
for your servlet engine for doing this.

-Ray

___________________________________________________________________________
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