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.