Two Laptop Bag*
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
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: 40052
    
  28
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connectivity to databse through oracle 10g