tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vernon Wu <>
Subject Re: Trying to work with JDBC
Date Thu, 08 Aug 2002 09:26:38 GMT

The Jar file shall be placed in one of lib directories, either your own application or in
the TC's common/lib, not in a 
classes directory. See the TC document for more detail inforamtion.

8/8/2002 8:00:41 AM, "Nagpal, Vikas" <> wrote:

>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: <>

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

View raw message