Building a Java Web project development Environment (i)

Source: Internet
Author: User
Tags java web

1, the new MyEclipse work space

2. Select the path of the workspace

3. Build our web Project

4, enter the name of the Web project, we use j2ee1.4,finish must choose No, if you choose Y, MyEclipse will be able to use the jdk1.5 environment.

5, at this time our Web project is basically finished, the following picture, we all detailed introduction of its directory.

3. Configure the server

Even though our web project is finished, we need to deploy them to the server at this point, whether it's HTML or servlet,jsp. The server is also called the Web container, it is a so-called middleware, the Web container implements the Java pretext: servlet. After the Web container is started, it always listens for all requests submitted to the port it is monitoring (default: 8080) and responds to this.

We use Tomcat, of course you can also use the other (the configuration method is basically the same). No matter what server it is, it's the same thing that we need to configure IIS when we publish a Web project for. NET and publish the project.

Below we configure Tomcat:

1. Find window->preferences in the menu bar. Configure Tomcat to select the path after Tomcat decompression.

2. After apply, configure the JDK to add its installation path.

3, at this time our server is configured successfully, when we need to run the project is ready to deploy our project and start, we can use in the browser.

Finally, I wish you a successful configuration!

Building a Java Web project development Environment (i)

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.