Configure JSP + JDK1.4 + Tomcat4.0 + Servlet + SQL Server2000 (JDBC Driver)

zhaozj2021-02-16  56

Configure JSP JDK1.4 Tomcat4.0 Servlet SQL Server2000 (JDBC Driver)

1. Install JDK; Tomcat, Setup.exe (JDBC Driver)

Configure environment variables: in system variables:

l ClassPath:.; C: /J2SDK1.4.1_01/lib/tools.jar; C: /J2SDK1.4.1_01/lib/dt.jar; C: / Tomcat 4.0 / Common / lib / servlet.jar; C: / J2SDK1.4.1_01; C: /J2SDK1.4.1_01/bin; E: / Myjava; E: / Myjava / MoreServlets; c: /tomcat4.0/common/lib/msbase.jar; c: /tomcat4.0/common /LIB/msutil.jar; C: / tomcat 4.0 / common / lib / mssqlserver.jar;

l java_home: c: /j2sdk1.4.1_01

l Tomcat_home: C: / Tomcat 4.0

l path:% systemroot% / system32;% systemroot%;% systemroot% / system32 / wbem; c: / program files / microsoft SQL Server / 80 / Tools / BINN; C: /J2SDK1.4.1_01; C: / J2SDK1. 4.1_01 / bin; E: / Myjava; E: / Myjava / MORSERVLETS

l

2. Precautions:

l When compiling .java file, you must run JavaC.exe to save .java file

l The development directory and "." are included in Path and ClassPath.

l When you install the setup.exe (JDBC driver), you should not run it under the three JAR files COPY to C: / Tomcat 4.0 / circar / lib.

l To create a class content directory at C: / Tomcat 4.0 / WebApps / Root / Web-INF, use the class of servlet and javabeans.

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

New Post(0)