aspose file tools*
The moose likes JDBC and the fly likes Servlet accessing database... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Servlet accessing database..." Watch "Servlet accessing database..." New topic
Author

Servlet accessing database...

Vimala Shirur
Greenhorn

Joined: Jan 12, 2001
Posts: 12
I want to write a servlet to establish the database connection and to access the data from this database. I have oracle 8.0 installed on my system, could anyone please help me how to set up this Dsn name from the control panel on windows '95 and what should be the URL format for DriverManager.getConnection method
DriverManager.getConnection(?? , "scott", "tiger");
and what should be the string parameter in the following method
Class.forName(" ?? ").newInstance();
Also are there other than Sun's jdbc dbc driver?
Appreciate your help!
Thanks.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Oracle makes its own JDBC drivers (there are four different ones) and they will provide the documentation for using them. Check outtheir site to get the software and the documentation.
 
 
subject: Servlet accessing database...