aspose file tools*
The moose likes JDBC 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc connection in jsp" Watch "jdbc connection in jsp" New topic
Author

jdbc connection in jsp

hariharan viswanathan
Greenhorn

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

regards
v.hariharan
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.:-)
Confused
Ranch Hand

Joined: Jan 24, 2006
Posts: 54
try
{
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("jdbc racle:thin:@ip address ort:sid","userid", "password");
}
catch{}
Anonymous
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
Marshal

Joined: Jan 10, 2002
Posts: 60077
    
  65

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:

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

There is no emoticon for what I am feeling!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jdbc connection in jsp
 
Similar Threads
what is defalut value of Custom tag body-content
pop up page
creating a pop up calendar within a form
Struts: No getter method for property name problem
WA #1.....word association