File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes need help to connect with driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "need help to connect with driver" Watch "need help to connect with driver" New topic
Author

need help to connect with driver

eric lee
Ranch Hand

Joined: Nov 04, 2002
Posts: 86
When i compile my code, i have error message said
"can not resovle symbol connection,DriverManager"
how can i install driver?
-----------------------------------------------
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con =
DriverManager.getConnection("jdbc dbc:bookbase");
System.out.println("got connection");
 
Consider Paul's rocket mass heater.
 
subject: need help to connect with driver
 
Similar Threads
DSN and DSN less connection
Java/MySQL connectivity
Connection to MySQL
connection
ResultSet