This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet accessing database...

 
Vimala Shirur
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic