Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

com.mysql.jdbc.Driver response

 
Julio C Moreno
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us your code?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic