Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to get a running environment for Servlets and JSP

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you how to get a Servlets and JSP running environment, I hope you have something to gain after reading this article, let's discuss it together!

No matter what server you are using, you can find a Servlets engine for that server.

You can try these different Servlets engines, but I recommend Allaire's JRun. JRun intercepts requests for Servlets and JSPs and sends the results back to the client via the Web server. JRun is older than Sun Servlets and JSP and supports more features.

JRun Support:

◆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 is very simple to install and easy to set up. And has excellent ability to set up JDBC data sources, so you avoid writing a lot of code in your program to deal with database problems.

Here is a brief introduction to how to install JRun. Some of the following steps are different from other engines:

Make sure your machine has JDK 1.2.2 or higher installed. Then, shut down your Web server and close other applications.

2. Run the JRun installer.

During the JRun installation process, ask you for the port number, which is used to connect to the server. It is recommended that you use 8000, however you can choose between 8100 and 8199.

After installing JRun, set up your Web server to work with JRun. If you are using IIS 4.0 or 5.0, open the control panel, select Services, and click the edit button. Select the Local Path field to set execution permissions. You can set this global property, but doing so may cause security problems. Click OK.

Now you can run JMC(JRun Management Console) by typing//localhost:8000/in your browser. After logging in as Administrator, you can configure each server. It is recommended that you first set the default server. Of course, you can also set up other Web servers, so different servers may have different settings.

Now you can test whether your JRun will work.

After reading this article, I believe you have a certain understanding of "how to get a Servlets and JSP running environment". If you want to know more about it, welcome to pay attention to the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report