tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nagpal, Vikas" <>
Subject Trying to work with JDBC
Date Thu, 08 Aug 2002 17:48:41 GMT
Hi everybody, 

I was trying to connect to the ORACLE database thru the JDBC driver. I have 
downloaded the DRIVER TYPE 4 and unzip this driver. On unzipping one of 
ORACLE.JAR driver i have got the hierarchy like 
com/ddtek/jdbc/oracle/OracleDriver.class. I have placed this hierarchy in 
WEB-INF/classes directory. I have configured my CLASSPATH to point towards 
the tools.jar, servlet.jar, WEB-INF/classes, jdbc2_0-stdext.jar. Also in my 
JAVA code i have put myDriver and 
myURL= I am not sure what 
exactly i need to do with the SERVER.XML file. Also i have created the 
instance of my JAVABEAN class in the JSP file to retrieve the requisite 
fields into my page. But even after this my code is not able to pull 
anything from the database. Can anyone help. 

With regards, 
Vikas Nagpal. 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message