The problem is at the line Class.forName ("com.mysql.jdbc.Driver").newInstance (); conn = DriverManager.getConnection (url, userName, password); where connection can't establish...I copied the connector mysql-connector-java-5.0.8 into lib folder..Yet the prob persist
Joined: Mar 22, 2005
You still haven't told us WHAT the problem is - post the complete error message and stack trace.
Have you restarted the web app after copying the jar file?
You should remove the ".newInstance()" method call by the way. It's not needed. [ December 19, 2007: Message edited by: Ulf Dittmer ]