Tomcat Settings JSP development environment

Source: Internet
Author: User
Keywords nbsp; tomc jsp installation Java
Tags aliyun apache configuration development development environment download environment html

Tomcat Settings JSP development environment, there are two kinds, either with the source installation, or download their own configuration Tomcat, recommend the latter. Tomcat is the Jakarta of the Http://www.aliyun.com/zixun/aggregation/14417.html ">apache Software Foundation (Apache Software Foundation) A core project in the project, developed jointly by Apache, Sun, and other companies and individuals. With Sun's involvement and support, the latest servlet and JSP specifications are always reflected in Tomcat, and Tomcat 5 supports the latest servlet 2.4 and JSP 2.0 specifications. Because Tomcat technology advanced, stable performance, and free, so deeply loved by the Java enthusiasts and has been recognized by some software developers, as the current more popular Web application server. The current version is 6.0.

Install Tomcat

Tomcat is a network service software developed by the Apache Foundation to support JSP (Java Server Page).

sudo apt install tomcat6

Wait a moment, TOMCAT6 will be automatically installed in the/USR/SHARE/TOMCAT5 directory

To set the Java environment for Tomcat running

First make sure that Sun's Java Development Toolkit is installed. If it is not already installed, refer to Java.

Start and stop Tomcat

To start Tomcat, run

qii@ubuntu:~$ Sudo/etc/init.d/tomcat6 Start
* Starting Tomcat servlet engine Tomcat6 [OK]

Open the browser at this time, enter http://localhost:8080 in the address bar

Tomcat Installation Succeeded

To stop Tomcat, run

qii@ubuntu:~$ Sudo/etc/init.d/tomcat6 Stop
* Stopping Tomcat servlet engine tomcat6 [OK]

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.