1. Install eclipse for Java EE and Tomcat;
2. Download the Tomcat plugin for Eclipse: http://www.eclipsetotale.com/tomcatPlugin.html
After downloading, unzip. The extracted files are placed in the eclipse's plug directory, and the Tomcat icon is visible after reboot (download 3.3.1 version of no icon generated, change the 3.3.0)
3. Configure the version of Tomcat
Windows-->tomcat,
4. Configure the server:
5. Modify the default default root directory for Tomcat:
1) Open the Server.xml file under the Tomcat installation directory Conf folder
2) Find the <Host> tag, modify its properties appbase the value for its own Web project root directory, such as: D:\eclipseWorkspace\mywebtest1
3) Add between <Host></Host> Tags: <context path= "" docbase= "\webcontent" debug= "0" reloadable= "true" ></ Context>
Where the value of the Docbase property is the directory where the site's default entry is located
6. Reboot Tomcat, enter in browser: http://localhost/, verify success
Eclipse configures Tomcat and modifies the Tomcat default root directory