Home Database Mysql Tutorial 让你的IIS服务器支持JSP_MySQL

让你的IIS服务器支持JSP_MySQL

Jun 01, 2016 pm 02:08 PM
iis tomcat Increase Install support server

IIS

一.软件简介
本文主要讲述如何用IIS+Tomcat3.1支持JSP及servlet环境。正常情况下IIS不支持servlet及JSP环境。我们通过使用一个IIS到Tomcat重定向的插件(plugin)使用IIS能够将所有的servlet及JSP请求发送到Tomcat执行以实现servlet及JSP环境。
二.文档定义
"tomcat_home"--假定为你安装tomcat的目录。
三.软件环境
Microsoft Windows NT 4.0 SP6a
IIS 4.0
Tomcat 3.1
四.获得所需软件
Microsoft Windows NT Server 4.0,请你自行准备。
Microsoft Windows NT Option Pack(安装IIS),请你自行准备。
IIS server的Tomcat插件
Tomcat 3.1
五.安装
(1)请参考前面的文章,安装Tomcat 3.1 for win。
(2)确认第一步安装成功后,安装配置IIS的Tomcat插件
在注册表中,增加一个新的键值:
"HKEY_LOCAL_MACINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0"
增加一个名为"extension_uri"的字符串,值为"/jakarta/isapi_redirect.dll"
增加一个名为"log_filei"的字符串,值为"日志文件的文件全名l"(例如c:\tomcat\IISisapi.log)
增加一个名为"log_level"的字符串,值为"你想记录的error级别"(可以是以下值中的一个:debug,inform,error,emerg)
增加一个名为"worker_file"的字符串,值为"tomcat_home\conf\workers.properties"(将这里的tomcat_home替换成你安装tomcat的路径全名,例如c:\tomcat)
增加一个名为"worker_mount_file"的字符串,值为"tomcat_home\conf\uriworkermap.properties"(将这里的tomcat_home替换成你安装tomcat的路径全名,例如c:\tomcat)
进入IIS管理控制台,选中"WEB站点"->按右键->选中属性->isapi筛选器中将"isapi_redirect.dll"加入到筛选器列表中。
重新启动IIS,确认在isapi筛选器中我们新加的筛选器有一个向上的绿色箭头。


(1)加上jsp的web引用目录(Context)
在Tomcat里加上一个web引用目录,具体步骤请看本区文章
加入一个web引用目录到IIS ISAPI 重定向插件
打开"tomcat_home\conf\worker.properties"文件,加入如下配置行:
/"web引用目录"/*=ajp12(例如/jsp/*=ajp12)。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1665
14
PHP Tutorial
1269
29
C# Tutorial
1249
24
How to generate URL from html file How to generate URL from html file Apr 21, 2024 pm 12:57 PM

Converting an HTML file to a URL requires a web server, which involves the following steps: Obtain a web server. Set up a web server. Upload HTML file. Create a domain name. Route the request.

Reasons for garbled characters in tomcat Reasons for garbled characters in tomcat Apr 21, 2024 am 10:18 AM

Reasons for Tomcat garbled characters: 1. Character set mismatch; 2. HTTP response header is not set correctly; 3. Filter or encoder configuration error; 4. Web page encoding is incorrect; 5. Other reasons (including server-side language, database encoding and proxy server issues).

How to add a server in eclipse How to add a server in eclipse May 05, 2024 pm 07:27 PM

To add a server to Eclipse, follow these steps: Create a server runtime environment Configure the server Create a server instance Select the server runtime environment Configure the server instance Start the server deployment project

Equipped with AMD EPYC 4004 series processors, ASUS launches a variety of server and workstation products Equipped with AMD EPYC 4004 series processors, ASUS launches a variety of server and workstation products Jul 23, 2024 pm 09:34 PM

According to news from this website on July 23, ASUS has launched a variety of server and workstation-level products powered by AMD EPYC 4004 series processors. Note from this site: AMD launched the AM5 platform and Zen4 architecture EPYC 4004 series processors in May, offering up to 16-core 3DV-Cache specifications. ASUSProER100AB6 server ASUSProER100AB6 is a 1U rack server product equipped with EPYC Xiaolong 4004 series processor, suitable for the needs of IDC and small and medium-sized enterprises. ASUSExpertCenterProET500AB6 workstation ASUSExpertCenterProET500AB6 is a

How to deploy war package in tomcat How to deploy war package in tomcat Apr 21, 2024 am 10:23 AM

The steps to deploy the WAR package to Tomcat are as follows: Copy the WAR package to the webapps directory of Tomcat. Start the Tomcat server and it will automatically deploy the WAR package. Access the application by entering the application's context path into the browser.

How to access the page after tomcat is started How to access the page after tomcat is started Apr 21, 2024 am 10:30 AM

To access the page after Tomcat is started, you need to: start the Tomcat server; determine the port number (default 8080); splice the URL, including IP address, port number and page path; use a web browser to access the spliced ​​URL; identify the Tomcat welcome page; Use the same format to access other pages.

Detailed explanation of C++ function naming: Questions and answers on following specifications and improving readability Detailed explanation of C++ function naming: Questions and answers on following specifications and improving readability May 01, 2024 pm 02:30 PM

C++ function naming convention follows camel case naming or Pascal naming. It is recommended to use descriptive, concise function names that avoid abbreviations and special characters. Overloaded functions can be distinguished by differentiating parameters, using suffixes, or namespaces. Function naming conventions that have single-letter names, are ambiguous, are overly specific, or contain special characters should be avoided.

How to open xml format How to open xml format Apr 02, 2025 pm 09:00 PM

Use most text editors to open XML files; if you need a more intuitive tree display, you can use an XML editor, such as Oxygen XML Editor or XMLSpy; if you process XML data in a program, you need to use a programming language (such as Python) and XML libraries (such as xml.etree.ElementTree) to parse.

See all articles