Intellij IDEA how to create a web project

  1. First, open the idea, click on "Create New Project", to create a new project.

    Intellij IDEA how to create a web project
  2.  

    First click on the left "Java Enterprise", then "Application Server" at a click "New" to import the tomcat server on the right, check below the "Web Application", click "Next".

    Intellij IDEA how to create a web project
  3.  

    Then set the project Project name (name) and Project location (location of the project), correct and click "Finish".

    Intellij IDEA how to create a web project
  4.  

    As shown in the directory structure is built web project.

    Intellij IDEA how to create a web project
  5.  

    Triangle shown in Figure Click to run a web project.

    Intellij IDEA how to create a web project
  6.  

    After waiting a few seconds, idea below the output box will prompt message shown in Figure, indicates that the server started successfully.

    At this point, create a web project successfully.

    Intellij IDEA how to create a web project
     

Guess you like

Origin www.cnblogs.com/songdongdong6/p/10978849.html