How JSP installs and starts

Source: Internet
Author: User
Tags tomcat linux
JS in order to experiment JSP technology, the first need to establish a running environment, the process is quite simple:
1. Download JDK (Java 2 SDK, Standard Edition, v 1.2.2) at http://java.sun.com/jdk/.
2. Download JSWDK (JavaServer Web Development Kit 1.0.1) at http://java.sun.com/products/jsp/. Linux users can download Tomcat 3.0 at http://jakarta.apache.org/.

3, installation

In the case of the Windows NT environment, the JDK is installed to run the downloaded Jdk1_2_2-win.exe first, then modify the system environment parameters, add [x:]jdk1.2.2in, and add new environment parameters to the Path parameter classpath=[x:] Jdk1.2.2lib Ools.jar, where [x:] is the hard drive character (c:, D:, and so on) where the JDK is installed. The JSWDK installation only needs to release the Jswdk1_0_1-win.zip directory to the hard disk root (c:, D:, and so on), and then you can find the jswdk-1.0.1 directory on your hard disk. If you do not want to keep JSWDK in the future, you can delete this directory, without any system files and registry legacy problems. More detailed installation procedures, as well as installation of JDK and Tomcat under Solaris/unix and Linux, can refer to the installation instructions in the downloaded packages.

4, start

Taking the Windows NT environment as an example, executing startserver.bat in the jswdk-1.0.1 directory enables a Web server in JSWDK that supports JSP web technology. To not conflict with existing Web servers (such as IIS, PWS, and so on), the JSWDK Web server uses port 8080. In the browser's address bar type http://localhost:8080 or http://127.0.0.1:8080, if you can see the JSWDK Welcome page on the JSP experimental environment has been completed, you can enter the next experiment. To close the Web server, run Stopserver.bat.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.