Establish a JSP environment in WIN2000 (IIS + resin + j2sdk)

Source: Internet
Author: User
Tags iis zip
Establish a JSP environment in WIN2000 (IIS + resin + j2sdk)
1. Download the required software
1-resin 1.2.1:
Http://summer.cnjsp.net/download/resin/resin-1.2.1.zip
2-j2sdk-1_3_0_01 for win:
Http://summer.cnjsp.net/download/jdk/j2sdk1_3_0-win.exe
II. Install software
1-install the j2sdk-1_3_0_01 for win, do not do other settings, the installation is complete
For example, install it in the c: j2sdk130 directory.
2-install resin 1.2.1: decompress the downloaded resin-1.2.1.zip package to the relevant directory
For example, install it in the c: esin121 directory.
3. Set the runtime environment
1-Find the binlog in the resindirectory and double-click srun.exe. OK. This step is complete.
Copy the isapi_srun.dll file to the c: intepubscripts directory and load the resin
In IIS, check that Internet information service> server Properties> ISAPI filter already exists.
Resin loaded, but not started
2-click Start> run and enter C: esin121insrun.exe-install to add the srun
When you observe the service, you will see that the resin servlet runner service has been loaded,
Not started yet. If you do not skip this step, you need to run srun.exe and two windows will be opened. Although debugging can be done,
But it is very inconvenient.
3-modify the resin. conf configuration file and find
<Http-server>
<App-dir> doc </app-dir>
To:
<Http-server>
<App-dir> c: inetpubwwwroot </app-dir>
4-restart IIS and start the resin servlet runner service.
So far, the installation is complete.
4. test-create test. jsp
<HTML>
<HEAD>
<TITLE> Simple Example </TITLE>
</HEAD>
<BODY>
<% Out. println ("Hello, world! "); %>
</BODY>
</HTML>
In the browser address bar, type http: // localhost: 8080/test. jsp, classic Hello, world!
Right in front of you
V. Error message:
Cannot contact Servlet Runner at localhost: 6802
This is because srun.exe is not running.
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.