JAVA/JSP learning series 4_php tutorial

Source: Internet
Author: User
Java JSP Learning Series 4. I. preface Orion: it is small, but has a lot of functions. if you don't talk about it, you can see its current support: (1) ServletsJSP (2) EJB (3) HTTP (note: Apa 1 and preface are no longer required

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)

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: Apa is no longer needed...

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.