开发者

Mysql/Jsp accessing database [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 8 years ago.

Improve this question

I was able declare my forms variable and also establish a connection to my MySQL Database, but when I ran the program it give me error Class.forName not found. Meanwhile, I think the syntax is correct:

Class.forName("com.mysql.jdbc.开发者_如何学PythonDriver").newInstance(); 

So what is the possible solution and the possible cause of such an error?


This means that the mysql JDBC driver is not included in your classpath.


have you put the MySQL jar to the project classpath or to the web container lib folder?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜