I was playing around with getting jsp/mysql to play nice together and had a problem where "com.mysql.jdbc.Driver" could not be found. Now, I finally fixed it by putting it into the jre/lib/ext directory of my JAVA_HOME directory.
The reason this took many hours was because I put it into my WEB-INF/lib directory (using tomcat) and I thought this was sufficient. Can someone tell me what the purpose of WEB_INF/classes and WEB-INF/lib directories are for, if you have to put the classes or jars into your classpath anyway??
I'm really a java newb, but I have played with this for a few days and have figured out a lot of my own. This, however, really bugs me. I have a copy of the mysql<etc>jar file in 10 different directories in my system trying to get this thing to work. I would appreciate a succinct explanation