(1) Configuration tomcat server
点击window---->Preference----->Server---->Runtime Environment------>Add----->选择Apach Tomat v8.0------>Next------->Finish
(2) the project will be deployed to tomcat server
Click the window -----> show view -----> servers can be seen as follows
If you already have the project, after the project is removed, right-click clean, and then double-click, you can see the following page:
Second selection, use Tomcat installation (takes control of Tomcat installation)
Then click Browse Deploy the right path, choose tomcat web application directory under the directory, Ctrl + s to save.
(3) Start tomcat server
Right-click the project -----> Run As ------> Run on Server ------> select Tomcat v8.0 Server at localhost -----> Next -----> the project to be run added to the right Configured ------> Finish
(4) Open the browser
Enter http: // localhost: 8080 / project name / custom URL mapping ------> Enter
You can see the dynamic pages written.
Tomcat port number is 8080, according to their own to write.