Java/jsp Learning Series 4

Source: Internet
Author: User


I. Preface

Orion is small, but has a lot of functions. If you don't talk about it, you can see its current support:
(1) servlets/jsp

(2) EJB

(3) HTTP (Note: Web servers such as Apache or IIS are no longer needed)

Ii. Download and install

For the Orion Application Server official site: http://www.orionserver.com/, I download orion1.4.pdf.

After the download, decompress the package to a directory. Here I use E: Orion as an example.

Iii. Configuration

(1) According to the installation instructions on the official site of Orion, If JSP and other technologies are to be supported, the JDK tools should be used. jar to E: Orion directory, tools. the jar file is in the Lib subdirectory of the JDK directory you have installed.

Now, the default configuration has been successfully completed. If your port 80 is not occupied and you want to use port 80 as the port, you have completed it here. Otherwise, continue with the following configuration.

(2) configure the port

There is a default-web-site.xml file under the E: orionconfig directory, find the following line in the file:

Change this line:

Note that port 8008 is used here.

Iv. Test

(1) Start Orion:

Run the following command in the Orion directory:

Java-jar Orion. Jar

Orion/x. x. x initialized will appear. Here the version is 1.4, so it is displayed:

Orion/1.4.0 initialized

By now, you have succeeded.

(2) execute JSP files

Enter:

Http: // localhost: 8008/

Appears: Orion Application Server 1.4.0-up and running. You can try to run jsp examples below. (Source: viphot.com)

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.