aspose 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
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");
 
Don't get me started about those stupid light bulbs.
 
subject: need help to connect with driver