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 Servlet accessing database... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Servlet accessing database...
 
Similar Threads
About JSP error. help me!!!!!
Dynamic IP address for thin driver
Problem in database connectivity in JSP
The best way to connect\disconnect to Database
Establishing Connections to a Data base on a different machine