File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes jdbc connection in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc connection in jsp" Watch "jdbc connection in jsp" New topic

jdbc connection in jsp

hariharan viswanathan

Joined: Feb 02, 2006
Posts: 2
i want know the code
for connecting oracle and jsp
pls any one help me
thanks in advance

Niki Nono
Ranch Hand

Joined: Mar 20, 2005
Posts: 256
same way you do it in java.
use jdbc.

Life called,so here I am.<br />Cheers<br />Niki.:-)
Ranch Hand

Joined: Jan 24, 2006
Posts: 54
con = DriverManager.getConnection("jdbc racle:thin:@ip address ort:sid","userid", "password");
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Calls in a JSP: Very Probably not THE BEST SCHEMA to access the Persistency Layer !
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63062

Moved to the JDBC forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Originally posted by Yilmaz Mete:
Calls in a JSP: Very Probably not THE BEST SCHEMA to access the Persistency Layer !

Am I detecting sarcasm in your markup? Then why does the JSTL have SQL tags? Here is a sweet example from the J2EE torturial ^H^H^H tutorial:

[ February 03, 2006: Message edited by: Jeff Albertson ]

There is no emoticon for what I am feeling!
I agree. Here's the link:
subject: jdbc connection in jsp
It's not a secret anymore!