aspose file tools*
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
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: 18135
    
    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
Control the Connections in the Connection Pool?
ResultSet NullPointerException problem
Making Connection with database
DATASETS IN SERVLETS?
id of the new field in my table