Oracle is connected to JSP (JDBC)

xiaoxiao2021-03-06  39

Oracle is connected to JSP (JDBC)

If the version of the JDK is JDK1.3, then the use of the classpath file is /opt/oracle/jdbc/lib/classes12.jar

If the JDK version is JDK1.4, then the use of the classpath file is /opt/oracle/jdbc/lib/ojdbc14.jar

Pay attention to the following configuration;

1, VI / ETC / PROFILE

Export classpath = "$ classpath": / OPT / ORACLE / JDBC / LIB / OJDBC14.JAR

2, cp /opt/oracle/jdbc/lib/ojdbc14.jar / usr / local / Tomcat4 / Common / LIB

3, cp /opt/oracle/jdbc/lib/ojdbc14.jar / usr / local / tomcat4 / webapps / root / web-infrest (only for the current

Valid)

The above is three ways to connect Oracle and JDBC, if the first is not easy, use the second.

转载请注明原文地址:https://www.9cbs.com/read-72618.html

New Post(0)