File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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
Bookmark "com.mysql.jdbc.Driver response" Watch "com.mysql.jdbc.Driver response" New topic
Author

com.mysql.jdbc.Driver response

Julio C Moreno
Greenhorn

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
Bartender

Joined: Apr 14, 2004
Posts: 10336

Can you show us your code?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: com.mysql.jdbc.Driver response
 
Similar Threads
Netbeans error JSP and MySQL
mysql-jdbc driver
Hibernate timeout
Servlet doesn't show data
Multiple loading of a class thru Class.forName() ??