Nov 05
A concise guide to setup Oracle database connection with Java/JSP
November 5, 2007 – 5:37 am- Tomcat 6 Preconfigured
i) I suppose you have downloaded the zipped file, so now unzip/extract it to any drive/folder.
You can use 7zip (recommended)/winrar/winzip to extract the Tomcat Preconfigured zip file.
ii) Now download ojdbc14.jar file from here and the sample JAVA program from here.
NOTE: you may need to sign-up an account in esnips.com to download the above provided files. Sign-up is absolutely free and this site rocks.
iii) Save ojdbc14.jar in the lib directory/folder inside apache-tomcat-6.0.10 directory as shown in figure.
iv) Save dbAccess.java file any convenient location you can remember in your driver, here is mine location:
v) Lastly install Notepad++ to code JAVA programs.
















4 Responses to “A concise guide to setup Oracle database connection with Java/JSP”
Hi
Thats a very cool guide / walk-through
{I play a lotta games}
i have the following setup:
Oracle 9i
Resin 3.0.17 Web server
JDK 1.5
i think i can edit the dbAccess.java to work on the same…
thnx CIAO
shabbir
By shabbir on Tue 18th Dec, 2007
Am glad you liked the walkthrough
By visio159 on Wed 19th Dec, 2007
Hi please if you were work on linux please let me know.
I have Suse 10 and Oracle 10g installed and I want to do this on Suse with jakarta tomcat
By Luis on Fri 11th Apr, 2008