Eclipse New Web Project

Source: Internet
Author: User

Method/Step
  1. First, you need to open the Eclipse software first, and then click "File" >>> "new" >>> "Dynamic Web Project" in the toolbar, which means the new project is a WEB project

    Tip: If "Dynamic Web Project" is not found, see the next step

  2. If we can't find the "Dynamic Web project" option, it means that the Web project has not been established before, so we are not in the shortcut navigator, when we click "Other" this option

  3. This interface pops up the query window, the content of the query is all the types of projects we can build, such as Java projects, Web projects, etc., can find a window query to get

  4. We are going to build a Web project, so enter "Web" in the query input box, the following list all web related projects, now we Know "Dynamic WEB project" This type of project, with the mouse to select it, and then click on the "Next" button

  5. This is the basic information to fill in the project, including the project name, the Project Runtime Server version, you can choose Tomcat or other can, see your project needs, here I enter a "test" to test the establishment of the project, after the input is complete, we click "Next" button

  6. This window shows the Web project needs to compile the directory of Java files, the default is the SRC directory, this we do not need to change, directly click "Next"

  7. Then pop-up window, show is our Web project, Web file related directory, is HTML or JSP and JS those Web-related file directory, the default is "WebContent", you can also modify the file name you want, note that there is a check box below, Indicates whether the Web. xml file is to be generated automatically

    Web. xml: This file is the core file of the website and the portal of the Web project, the old version of Eclipse will have this file, but the new version of Eclipse can be used to annotate in Java code, so provide the user to choose whether or not to build, if it is novice best choice to build

    Then we click on "Finish"

  8. Here is the catalog result of our new Web project

    Java Storage directory: SRC

    Web Files directory: webcontent

    Web configuration file: xml

    Now, you can start your Java development journey.

Eclipse New Web Project

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.