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


Win a copy of Spring in Action this week in the Spring 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: 18655
    
    8

"neo wee", please check your private messages regarding an important administrative issue.
 
jQuery in Action, 2nd edition
 
subject: servelet and jdbc eclips