This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes connectivity to databse through oracle 10g Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "connectivity to databse through oracle 10g" Watch "connectivity to databse through oracle 10g" New topic
Author

connectivity to databse through oracle 10g

gopal jaiswal
Greenhorn

Joined: May 31, 2008
Posts: 1
i made a program using servlets to connect t0 a database.i also used html for querry page. foolowing is my code. its working good with mysqland microsoft access but a system error with oracle 10g








[ May 31, 2008: Message edited by: Campbell Ritchie ]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38068
    
  22
Don't know, but welcome to JavaRanch
I have edited your post with code tags and "disable smilies" to improve legibility.
I think people would be better able to help if you post the exact text of the error message.
Nareshreddy Kola
Greenhorn

Joined: May 24, 2008
Posts: 6
Since you are using Oracle, why don't you just use an Oracle JDBC driver?


Kola.Nareshreddy
Rajat Bhatnagar
Greenhorn

Joined: Mar 11, 2008
Posts: 22
A lot of things to tell here

1. Use a type4 java driver.
2. Instead of blatantly pasting your code mention where do you think you might be going wrong.

3. Dont't just code..Think and code.

I am sending you the Code for oracle connectivity.
Just make sure that you have the oracle jars in your classpath while trying to run it.
Also change the UserName,Password and Other details in the Connection string.

[edit]Disable smilies. CR[/edit]
[ June 04, 2008: Message edited by: Campbell Ritchie ]

Regards<br />Rajat Bhatnagar<br /><a href="http://guideofgreatness.googlepages.com" target="_blank" rel="nofollow">http://guideofgreatness.googlepages.com</a>
Rajat Bhatnagar
Greenhorn

Joined: Mar 11, 2008
Posts: 22
I think i pasted the wrong version of code here.

just ignore the

Part
 
Consider Paul's rocket mass heater.
 
subject: connectivity to databse through oracle 10g
 
Similar Threads
User name and password?
How to invoke a method when back button in browser is clicked.
please any one cleare my error
reading data from jsp page to another jsp page using request.getParameter
404 error. Can't find resource?