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]
RE: My hosting company upgraded to the Apache Tomcat/4.1.27
Goehring, Chuck Mr., RCI - San Diego Fri, 21 Nov 2003 14:30:14 -0800
- My hosting company upgraded to the Ap... Kent Gilley
- Goehring, Chuck Mr., RCI - San Diego