Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servelet and jdbc eclips

 
neo wee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to make connection to a mysql DB through a contex listener but the connection object won't get created (com.mysql.jdbc) error occurred i believe it have something to do with mysql jdbc driver libraries. i'm using tomcat,eclips & mysql 5.1

connections & statements are working fine in normal java application i use the same class then the error is occurred i'm new to serverlet please help me with this
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us the error? HAve you added the required driver jar files to the classpath?
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"neo wee", please check your private messages regarding an important administrative issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic