This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes servelet and jdbc eclips Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "servelet and jdbc eclips" Watch "servelet and jdbc eclips" New topic

servelet and jdbc eclips

neo wee

Joined: Oct 17, 2008
Posts: 1
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

Joined: Apr 14, 2004
Posts: 10336

Can you show us the error? HAve you added the required driver jar files to the classpath?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Paul Clapham

Joined: Oct 14, 2005
Posts: 19728

"neo wee", please check your private messages regarding an important administrative issue.
Have you checked out Aspose?
subject: servelet and jdbc eclips
It's not a secret anymore!