type 4 driver syntax and how to connect to oracle with type 4 drivers

i have just been throught the oracle site that it supports type 4 connectivity. so someone please guide me how to connect to oracle from a jsp page using type 4 drivers. do i have to look for some jar files in the pracle 9 installation that i need to specify in the classpath or is there a different approach to this scenario. please guide. thank you

[357 byte] By [mihirdm] at [2007-9-30 20:41:31]
# 1
If you're using JSPs in a Web app, the correct way to do it is to put the Oracle ojdbc14.jar in your Web app's WEB-INF/lib directory. Consult your servlet/JSP engine's docs on how to set up a JNDI data source so you can take advantage of its database connection pooling support.%
duffymo at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Please let me know whether this ojdbc14.jar come with oracle 9i default installation or do i have to seperately install it. thank you. what is the syntax of the connection string that i need to use to connect to oracle through type 4 drivers.
mihirdm at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3

No, ojdbc14.jar does not come with the default installation. You can download it here once you're registered:

http://otn.oracle.com/software/tech/java/sqlj_jdbc/index.html

The URL string has this format - consult your docs from now on:

jdbc:oracle:thin:@host:1521:sid

%

duffymo at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 4
> No, ojdbc14.jar does not come with the default> installation. It certainly comes with some installation because I have it and I never downloaded it.One probably has to check a box on the install screen. It might only be on the client install as well.
jschell at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 5

> It certainly comes with some installation because I have it and I never downloaded it.

I misspoke, obviously. I've ONLY had access to the Oracle JDBC driver in my role as a client. I've never been an Oracle DBA, so I've never done an install. Bad extrapolation. Thanks for correcting me, Joe.

%

duffymo at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 6
how to connect throw jsp
Rajender.D at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 7
hi
R@mb0001 at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 8
I need to know how to connect with Type 4 driver with oracle. Please some one guide me
senlog80 at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 9
> how to connect throw jsp
BuluNanda at 2007-7-7 1:30:32 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...