I am trying to connect mysql database fron jsp page.Here is my code:
and here is an context.xml saved in catalina home/conf/context.xml.
my application resides at catalinahome/webapps/root/application direcory.
also my classpath variable is
I am getting error while connecting to database like
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
java.sql.SQLException: No suitable driver
Can anyone help here?
Any suggestion is highly appreciated.
Thanks and regards
Originally posted by Harshal Gurav:
Thank you for your reply.
Can you more elaborate the same?
my updated classpath strucure like:
but showing the same Error?
Can you help here.
Thanks and Regards
[ September 15, 2008: Message edited by: Harshal Gurav ]
I think you are missing the .jar at the end of your CLASSPATH, I think it should be: