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
?
http-server>
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 ? This result Note: Port is the port number, debug environment NT4.0 Iis resin1.1