Not able to connect the DB from Servlet

Posted by user1885127 on Stack Overflow See other posts from Stack Overflow or by user1885127
Published on 2012-12-07T10:53:36Z Indexed on 2012/12/07 11:03 UTC
Read the original article Hit count: 180

Filed under:
|
|
|

I have started jsp servlet application with Xampp Server, In which I have dbconnection.java and LoginValidator.java (servlet) files.

I'm getting an error while trying to access the database from servlet (LoginValidator.java).

It is getting the following error:

Class Not found Exception : com.mysql.jdbc.Driver

I have imported the mysql-connector-java-5.1.18-bin.jar. I have searched a lot but could not find the solution.

© Stack Overflow or respective owner

Related posts about java

Related posts about jsp