Running Environment of Servlets and JSP-JRun

Source: Internet
Author: User

How can I get a running environment of Servlets and JSP?

No matter what server you are using, you can find the Servlets engine for this server.

You can try to use these different Servlets engines, but I suggest using Allaire's JRun. JRun intercepts requests to Servlets and JSP, and requests the running results to be sent back to the client through the Web server. JRun is longer than Sun's Servlets and JSP, and supports more features.

JRun supports:
◆ Enterprise Java Beans 1.1
◆ Java Transaction API 1.0
◆ Java Messaging Service 1.0
◆ Java Server Pages 1.1
◆ Java Servlets 2.2

JRun installation is very simple and easy to set. It also has the ability to set JDBC data sources, so you can avoid writing a lot of code in the program to handle database problems.
Next we will briefly introduce how to install JRun. Some of the following steps are different from those of other engines:

1. Make sure that your machine has JDK 1.2.2 or later installed. Disable your Web server and other applications.

2. Run the JRun installer.

3. During the JRun installation process, I will ask you the port number, which is used to connect to the server. We recommend that you use port 8000. However, you can select another port between port 8100 and port 8199.

4. After JRun is installed, set your Web server to work with JRun. If you are using IIS4.0 or 5.0, open the control panel, select the WWW Service, and click the edit button. Select the local path field and set the execution permission. You can set this global attribute, but this may cause security problems. Click OK.

5. Now you can run JMC (JRun Management Console) and enter // localhost: 8000/in the browser /. After logging on as Administrator, you can set each server. We recommend that you set the default server first. Of course, you can also set other Web servers. Different servers may have different settings.
Now you can test whether your JRun can be run.

  1. Servlet Container session tracking
  2. Detailed description of Servlet instances
  3. Introduction to Servlet read request headers
  4. Call the Http Servlet Request Method
  5. Basic Structure of Servlet

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.