tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vernon Wu <vern...@gatewaytech.com>
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" <vinagpal@utmb.edu> 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 =com.ddtek.jdbc.oracle.OracleDriver and
>myURL=http://bioinfo.utmb.edu/cgi-bin/bsql_ProbeSet.cgi. 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.
>
>Thanks,
>With regards,
>Vikas Nagpal.
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
>




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message