Jsp server under WIN98/2000

Source: Internet
Author: User

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.

 

Install MySQL (the best combination with PHP): If you are using a window system, you 'd better install MySQL (the best combination with PHP) to c: mySQL (the best combination with PHP). You can install MySQL by default.

 

Jsp (the first choice for SUN Enterprise Applications) server is Jakarta tomcat (a very useful JSP running platform) 4.0. The latest version is 4.0.4. Download Page: http://jakarta.apache (the most popular WEB server platform for Unix ). org/builds/jakarta-tomcat (a good JSP running platform)-4.0/release/v4.0.4-b2/

Install jdk by default, but install jdk first. It is best to install jdk in the same directory as jdk, such as d: omcat (a very useful JSP running platform)

Step 2: After the installation is complete, we need to configure my jsp (preferred for SUN Enterprise Applications) server to run normally during the configuration period:

 

1. In win 98:

By editing the autoexec. bat file and the set command,
 
Set JAVA_HOME = d: jdk1.4
Set tomcat (a very useful JSP running platform) _ HOME = d: omcat (a very useful JSP running platform)

Set CLASSPATH = d: omcat (a good JSP running platform) commonlibservlet. jar

Set PATH = c: windows; d: jdk1.4in

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 (a very useful JSP running platform) _ HOME: d: omcat (a very useful JSP running platform)

PATH: d: jdk1.4in; d: omcat (a good JSP running platform) in


Last test:

D: omcat (a very useful JSP running platform) instartup. bat starts tomcat (a very useful JSP running platform) server (the command to close is d: omcat (a very useful JSP running platform) inshutdown. bat), okay, so far, a jsp (the first choice for SUN enterprise-level applications) server is ready. the Method for Testing jsp (the preferred choice for SUN enterprise-level applications) is: http: // localhost: 8080, so that we can see tomcat (a very useful JSP running platform) welcome Page!

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.