Jsp server _ MySQL in Windows 98/2000

Source: Internet
Author: User
Step 1: make some preparations-download and install the software: jdk is 1.4 download: java.sun.comj2se1.4index.html is all the default installation method (tips: Set the jdk directory to a simple situation such as d: jdk1.4) and test whether the following installation is successful: run cmd ---> type the javac command.> You can see the help of java in Windows 98.


Step 1: make some preparations-download and install the software:

Jdk is 1.4 Download: http://java.sun.com/j2se/1.4/index.html

All are the default installation methods (tips: Set the jdk directory to a simple situation, such as d: \ jdk1.4)

Then, test whether the installation is successful: run cmd ---> type the javac command.> The java help line shows that the installation is successful.

MySQL installation: If you are using a Windows system, you 'd better install mysql to c: \ mysql. the other steps are to install MySQL 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/

It is still the default installation method, but jdk must be installed first. it is best to install jdk in the same directory, such as d: \ tomcat.

Step 2: After the installation is complete, we need to configure my jsp server and it can run normally:

1. in win 98:

By editing the autoexec. bat file and the set command,

Set JAVA_HOME = d: \ jdk1.4
Set TOMCAT_HOME = d: \ tomcat

Set: \ tomcat \ common \ lib \ servlet. jar

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

Note that you may also need to increase your environment space: Edit the c: \ config. sys file, and add the following code at the end:

Shell = c: \ command.com/e: 1024/p
2. in win2000:

Add Environment variables:

JAVA_HOME: d; \ jdk1.4

TOMCAT_HOME: d: \ tomcat

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


Last Test:

D: \ tomcat \ bin \ startup. bat starts the tomcat server (the command to close is d: \ tomcat \ bin \ shutdown. bat), okay. so far, a jsp server has been settled. the method for testing jsp is: http: // localhost: 8080, so that we can see the welcome interface of tomcat!

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.