File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes com.mysql.jdbc.Driver response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "com.mysql.jdbc.Driver response" Watch "com.mysql.jdbc.Driver response" New topic

com.mysql.jdbc.Driver response

Julio C Moreno

Joined: Apr 22, 2005
Posts: 16
i'm using Class.forName("com.mysql.jdbc.Driver"); for connecting to a mysql database in a servlet , and the class file is on my deploy directory but when i tried to test it , using the browser it only displays the com.mysql.jdbc.Driver and not the data, could be caused for the version of my connector ?, i'm using Apache Tomcat/4.1.31 and mysqlconnector 3.0.7

any help would be appreciated.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Can you show us your code?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: com.mysql.jdbc.Driver response
It's not a secret anymore!