Hi,
Thankyou for helping me in Swing and IO. Now i got strucked in
Servlets , i did proper matching and all , but could not establish the connetion between MYSql and Servlets. I visited to other threads but could not get the solution.
- The version of Mysql installed is 5.1.43-comunity
- The driver which i have used is mysql-connector-java-5.1.12
The codes which i am using is
The errror msg displayed is as follows :-
exception
javax.servlet.ServletException: Servlet Could not display records.
DBConnection.service(DBConnection.java:42)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
java.sql.SQLException: No suitable driver found for
jdbc:mysql://192.168.10.59:3306/thamu
java.sql.DriverManager.getConnection(Unknown Source)
java.sql.DriverManager.getConnection(Unknown Source)
DBConnection.service(DBConnection.java:29)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Hoping to have help ,as new in
Java.
Regards ,