Are you using netbeans
IDE to build and deploy your application?
If you are use this link to set up connection to mysql. IS for postgre but works for mysql as well.
LINK I think that the problem is that the mysql.jar is not in the common/lib in your
tomcat. copy the lib to the common/lib folder and try again.