MyEclipse Building Java Web project "one"

Source: Internet
Author: User

Today we'll show you how to create a Java Web project using Myclipse, and I'm using myclipse 8.6来 to create it:

1. Open myeclipse, click File---and then new----Web project, and then create the Web item.

2. Fill in the information about the Web project:

Project Name: Item names

SOURCE FOLDER:SRC to store the original file

root directory for Web root Folder:web app

Context: Access path when deploying to Tomcat access.

Click Finish to complete.

The post-deployment project structure is as follows:

3. After the project is created, next we need to deploy the project into the Tomcat container, how to deploy the project to the Tomcat container using MyEclipse, and click Preferences in Windows:

Select the corresponding Tomcat:

After you have configured Tomcat, you need to configure the JDK for runtime, click Add, and select the corresponding JDK:

4. After the tomcat is configured, the project is then deployed to the Tomcat container:

Click Deploy Project:

Select the project you want to deploy, then click Add,

Select Deploy to tomcat6.x:

Click OK.

Start tomcat6.x

After the deployment is complete, start Tomcat successfully, and then under Web Project Access:

Access is successful, that is, deployment startup OK.

Reference article: http://blog.csdn.net/jiuqiyuliang/article/details/36875217

MyEclipse Building Java Web project "one"

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.