Configure the RESIN server in Windows2000 (IIS5.0 + RESIN-2.0.5)

zhaozj2021-02-16  53

IIS Web is very popular with its management operations and the support of ASP. Here you introduce how to use RESIN to make IIS support JSP and servlet.

1. Install the configuration IIS and RESIN2.0.5 separately, respectively, can operate properly. The path of IIS and RESIN2.0.5 are installed as follows: C: / Apache and C: /RESIN2.0.5.

Second, configure IIS

1. Copy IIS_SRun.dll to IIS scripts directory "C: / INETPUB / SCRIPTS";

2. Creating a profile (resini) in the C: / INETPUB / SCRIPTS directory (resin.ini) is used to specify the location of the configuration file of the RESIN.

Resin.ini content is as follows: cauchoconfigfile c: /resin2.0.5/conf/RESIN.CONF

Third, configure RESIN

?

Fourth, test

1. Run IIS, start the RESIN's JSP engine (running C: /Resin2.0.5/bin/srun.exe)

2. Put a JSP file (Test.jsp) into the c: / inetpub / wwwroot directory of the IIS.

Test.jsp is as follows:

<% @ Page language = java?>

2 2 = <% = 2 2%> Browse http: // localhost: Port / Test.jsp. You will see: 2 2 = 4

转载请注明原文地址:https://www.9cbs.com/read-15516.html

New Post(0)