A JSP server under Windows 98/2000

Source: Internet
Author: User
Tags mysql tomcat tomcat server

The first step: we will do some preparatory work-software download and installation:

JDK is 1.4 download: http://java.sun.com/j2se/1.4/index.html

All is the default installation method (tips best to set the JDK directory into a simple situation such as d:\jdk1.4)

Then test the following installation success: Run cmd---type javac command-〉 see Java help Line to prove the installation was successful.

MySQL installation: If you are using Windows system Please install MySQL to C:\mysql, the rest is installed by default

JSP server is Jakarta TomCat 4.0, now the latest is 4.0.4, download page: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4-b2/

or by default, install the JDK first. It is best to install the JDK in the same directory as D:\tomcat

Step two: After the installation, we will be able to work with our JSP server to configure the period of normal operation:

1. Under Win 98:

Set by editing the Autoexec.bat file and the set command.

Set java_home=d:\jdk1.4
Set Tomcat_home=d:\tomcat

Set Classpath=d:\tomcat\common\lib\servlet.jar

Set Path=c:\windows;d:\jdk1.4\bin

Note that sometimes you may also want to increase your environmental space: Edit the C:\Config.sys file and add the following code at the end:

shell=c:\command.com/e:1024/p
2, under the Win2000:

Add Environment variables:

java_home:d;\jdk1.4

Tomcat_home:d:\tomcat

PATH:d: \jdk1.4\bin;d:\tomcat\bin


Final Test:

D:\tomcat\bin\startup.bat Start Tomcat Server (Shutdown command is d:\tomcat\bin\shutdown.bat), OK, so far, a JSP server has been done. The method to test the JSP is: HTTP ://localhost:8080, so we can see the Tomcat welcome Interface!



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.