This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
how you are adding jar file in eclipse..?
put your mysql jar file in tomcat->lib folder as well, i solved same problem by putting jar file into lib.
Assuming you are adding jar file like this:
Project->Build Path->Add External jars.
Punit Jain wrote:Tomcat is not an Application Server.
There is no generally agreed-upon definition of the term "application server", and Tomcat can easily serve as one. What Tomcat is not is a "JEE server", which is something that actually does have a fixed definition.
Joined: Aug 20, 2011
There is no generally agreed-upon definition of the term "application server"
Tomcat is, according to generally-accepted usage, a Web Application Server.
Tomcat is - in a limited scope - a J2EE web application server. It is not, however, a full-stack web application server because it lacks several of the heavyweight capabilities (such as EJB container) that are required to be provided in order to be certifiable. Tomcat only provides the servlet/JSP support, a JNDI server, Database connection pools, security Realms, and a few odds and ends.
Despite Tomcat's limited capabilities, it has served as a prototyping platform for next-generation servlet/JSP designs. It also has been employed as the servlet/JSP subsystem services provider running embedded in full-stack J2EE/JEE web application servers such as JOnAS and JBoss,
So much for nit-picking. In Tomcat versions 6 and greater, the database driver JAR must be copied into the TOMCAT_HOME/lib directory. It must NOT be included as part of any application (WAR) because it's used at the container level by the connection pooler(s) and individual application classpaths are not shared as part of the server classpath. The server's classpath is part of the individual webapp classpaths, though.
Customer surveys are for companies who didn't pay proper attention to begin with.