Steps to configure JSP interactive website

xiaoxiao2021-03-06  14

Network Operating System: Windows2000 Server, JSP Server: Tomcat5.0, Database: SQLServer2k,

Java virtual machine: JDK1.4

step one:

Install JDK1.4 (Table of Contents: C: /JDK1.4)

Step 2:

Install SQLServer2k. (Default directory)

Step three:

Install Tomcat5.0. The server and web server Apache are bundled together to save the troubles of manual bundling.

(Table of Contents: C: / Tomcat)

Step 4:

Install Microsoft SQL Server 2000 Driver for JDBC. (Default directory)

Step 5:

System environment variable setting:

In Administrators' user variables:

1. New ClassPath variable,

Variable: c: /jdk1.4/bin/tools.jar; c: /jdk1.4/lib/dt.jar; C: / Program Files / Microsoft SQL Server 2000 Driver for JDBC / LIB / MSBASE.jar; C : / Program Files / Microsoft SQL Server 2000 Driver For JDBC / LIB / MSSQLServer.jar; C: / Program Files / Microsoft SQL Server 2000 Driver for JDBC / LIB / MSUTIL.jar;

2. New PATH variable

Variable: c: /jdk1.4/bin; c: /jdk1.4; C: / Program Files / Microsoft SQL Server 2000 Driver for JDBC / LIB / MSBASE.jar; C: / Program Files / Microsoft SQL Server 2000 Driver For JDBC / LIB / MSSQLServer.jar; C: / Program Files / Microsoft SQL Server 2000 Driver for JDBC / LIB / MSUTIL.jar;

3. New set java_home variable

Variable value: c: /jdk1.4

4. New set tomcat_home variable

Variable: C: / Tomcat

Step Six:

Copy C: / Microsoft SQL Server 2000 Driver for JDBC / LIB under three JAR files (msbase.jar, mssqlser.jar, msutil.jar) to C: / Tomcat / Common / LIB /

Step 7:

Restart the system to take effect on the setting of the environment variable. Start the Apachetomcat service, play 127.0.0.1 in the browser, you will see the default welcome interface of Tomcat.

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

New Post(0)