I am trying to connect to MYSQL using jsp and i have included the jar file "mysql-connector-java-3.1.14-bin" in the lib folder.But still I am getting an exception "org.apache.jasper.JasperException: com.mysql.jdbc.Driver" Thai is the code : This is the code for "config.jsp"
Please help me out...... [ January 19, 2008: Message edited by: Bear Bibeault ]
That is true. But is this WEB-INF/lib folder you mention is of the server where you deploy? Or just inside your development environment?
You need to have the lib file inside the deployed application as well so that at runtime, the web container can find that library to load the classes required.
Having the libraries inside the WEB-INF/lib of the concerned application is one kind. Other way is you have these libraries in the area/location where the particular web/application server usually picks up from when it is getting started.