Kent,

The jar containing the driver would have to be in the JAVA_HOME\jre\lib\ext
or probably preferably in WEB-INF\lib so Java can find it.

Probably have to re-start Tomcat as well.

You can view the contents of the jar with WinZip to make sure the package name matches 
and is in the jar.

Chuck  


-----Original Message-----
From: Kent Gilley [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: My hosting company upgraded to the Apache Tomcat/4.1.27


and my jsp pages aren't working.  They say it's simple syntax error on 
my part.

I've loaded a page with only two lines of code in them, and the problem 
is with calling the driver.

Example:
" http://www.azlehornets.com/apps/g092603.jsp "

old code

<!--
<%//Class.forName("org.gjt.mm.mysql.Driver");%>

-->

new code that I have tried.
<!--
Class.forName("com.mysql.jdbc.Driver");

Class.forName("com.mysql.jdbc.Driver").newInstance();

-->



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to