#Idea Importing the Eclipse Web project
# # # One, import your own Web project
##### step: File->new->project from Existing Source ...
# # # II, select the location of the project, click "OK", followed by the following steps:
![Figure I] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%871.png)
![Figure II] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%872.png)
![Figure III] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%873.png)
![Figure IV] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%874.png)
![Figure V] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%875.png)
# # # Three, after successfully importing the project, click on the option in the Red box in the graph:
![Figure Six] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%876.png)
# # # Four, after entering this page, we first select "Project", in the "Project SDK" to select their own JDK, and then in "Project Language level" in the corresponding to their own JDK (I use the JDK1.8, So here's what I'm using:
![Figure Seven] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%877.png)
# # # Five, and then into the "Modules", see the imported items will error errors imported items, do not worry, as shown in the "Dependencies" in the "Module SDK" to select their own SDK, then select the error, click on the right "-", clear them, Then add your own tomcat:
![Figure Eight] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%878.png)
# # #六, go to "Libraries", click "+" in the middle section and add the jar package under the Lib directory:
# # # Seven, enter "Facets", in the middle section click "+", select "Web", in the selection of the name of your project, but also need to note that in "Web Resource directory" Select the correct directory, in Eclipse is "webcontent" :
![Figure Nine] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%878.png)
# # # Eight, enter "artifacts", click "+"----> "Web application Exploded"----> "from Modules"; Select your own project name, generate as shown in the success, Now that we have completed the majority of the configuration, click "Apply" and "OK".:
![Figure 10] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%8710.png)
### Nine, click "Inverted Triangle", select "Edit configurations":
! [Figure 11] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%8711.png)
### 10, click on the "+" in the graph, select "Tomcat Server"---> "Local", you will enter the following interface; Modify application Name of the server and add Tomcat, then click the Oval "Deployment":
! [Figure 12] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%8712.png)
### 11, "Deploy at the server startup" to add the generated "War", as shown in:
![Figure 13] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%8713.png)
### 12, so our configuration has been completed click on "Apply"---> "OK", on the home page generated as shown in the "Tomcat" pattern.
! [Figure 14] (http://opm6ymmfb.bkt.clouddn.com/%E5%9B%BE%E7%89%8714.png)
### 13, now that we have successfully imported, you can start the development of Web projects
Idea Import Web project for Eclipse