Construction of JSP environment under WINDOW

xiaoxiao2021-03-06  50

First, install JSDK1. Upload JSDK from Java.sun.com, J2SDK-1_4_2_06-Windows-I586-P.exe, as of 2004-11-11 already has J2SE5.0. The download page is http://java.sun.com/j2se/1.4.2/download.html. Execute the J2SDK installation file to C: / JDK

2. Set the environment variable: java_home = C: / jdkclasspath = .; c: /jdk/lib/tools.jar; c: /jdk/lib/dt.jar pay attention to the most in front of .path = C: / jdk / bin

Second, install Tomcat as a container that provides JSP services.

Unzip the Tomcat package (or perform the installation file) to C: / Tomcat, set the environment variable tomcat_home according to the above method, which is C: / Tomcat, add a value to the ClassPath environment variable: c: / tomcat / common / lib / servlet .jar.

After setting, use http: // localhost: 8080 to test whether the installation is successful.

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

New Post(0)