Have you tried connecting to the DB outside the servlet environment to
see if you can can get a JDBC connection?  Try putting that into a 10
line Java program to confirm that you are loading the driver classes
correctly (and send us that code if it still doesn't work). After that
you can work on integration with the Servlet container.

Paul Copeland
JOT Servlets - A Framework for Servlet Applications
http://www.jotobjects.com


Date:    Wed, 26 Nov 2003 17:01:15 +0800
From:    Mikil <[EMAIL PROTECTED]>
Subject: Re: [Shameless Plug] Servlets and JavaServer Pages; the J2EE Web Tier

Hi to everyone who comes across this mail.

I am trying to implement a web application using jsp and sevrlet on os =
linux redhat 9, java ver 1.4.2_05, apache tomcat server ver 4.1.27, =
mysql ver 3.23.54 std and mysql_connector_java_3.0.9stable.=20

I am able to execute jsp and servlets, but get an error while I try to =
access the DB. The error says "no suitable driver". But I checked all =
documents related to this matter, according to which it is correct.=20

Will be glad and thankful if someone is able to resolve this.

Thanks.

Mikil

=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com

Reply via email to