How to configure Apache + Tomcat. JSP in Windows 9x Environment

Source: Internet
Author: User

How to configure Apache + Tomcat. JSP in Windows 9x Environment


The system configuration is as follows:
Windows 98 (NT is mainly used to manage different environment variables, which is irrelevant to the settings of the following Program)
Jdk1_2_2-005win.exe
Apache_1_3_9_win32.exe
ApacheModuleJServ. dll
Tomcat.zip (3.1)

Please pay attention to the location where * is played

I. Installation
1. Install the JDK1.2.2-005, * and add the directory of jdk1.2.2 to the environment variable PATH (Autoexec. bat );
2. Install apache_1_3_9_win32.exe;
3. Copy ApacheModuleJServ. dll to the modules subdirectory of the Apache directory;
4. install Tomcat 3.1 (decompress and copy it to a directory );
The required parts have been installed. The following is the configuration process.
Ii. Configuration
1. Edit the http. conf file in the conf sub-directory of Apache to make it run properly and configure it with your own machine (many introductions are provided. I will not go into details here)
2. Set the following environment variables (which can be placed in autoexec. bat:
SET TOMCAT_HOME = C: PROGRA ~ 1 Tomcat
(* Note: in this case, if you have a Windows-style directory, you must write it in the DOS directory format. Otherwise, problems may occur)
SET JAVA_HOME = C: PROGRA ~ 1jdk1. 2.2
3. Open the TOMCAT. conf file in the conf subdirectory of tomcat and remove the comments before the following line:
LoadModule jserv_module modules/ApacheModuleJServ. dll
Then, screen out a line similar to LINUX with comments.
4. Open the httpd file of apache and add a line at the end.
Include c:/progra ~ 1/tomcat/conf/tomcat. conf
Iii. Start and test:
1. Start apache first. If it is correct, it should be displayed:
Apache/1.3.9 (Win32) tomcat/1.0 running...
2. Go to the tomcat execution directory (bin ),
* Note: If this directory is a windows Directory, you must enter it in the windows directory notation, such as progra ~ 1 must be written as program files
* Note 2: Generally, the running environment variable size of the batch for executing commands is 4096;
3. start tomcat with tomcat. bat start or tomcat. bat run. The correct output classpath should be displayed. At this time, Tomcat is started successfully!
4. Enter http: // localhost/examples/in the browser to view the three directories returned by the server. Click JSP to see the example.
-- As long as the program is downloaded from the official website, the JSP environment should be correctly started according to the preceding steps. The following problem is:
How to add context to map to your working directory and start exploring the JSP world. This will be followed by a post.

Http://www.apache.org/dist/binaries/
Http://jakarta.apache.org/builds/tomcat/release/3.1


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.