my dog learned polymorphism*
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "servelet and jdbc eclips" Watch "servelet and jdbc eclips" New topic
Author

servelet and jdbc eclips

neo wee
Greenhorn

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
Bartender

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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

"neo wee", please check your private messages regarding an important administrative issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servelet and jdbc eclips
 
Similar Threads
id of the new field in my table
Making Connection with database
DATASETS IN SERVLETS?
ResultSet NullPointerException problem
Control the Connections in the Connection Pool?