Recently wrote a product search module, to make Tomcat services, previously only focus on algorithms, never used Tomcat, this time on the Internet to check some information is also done (small companies are really exercise people ah, before I never consider these service problems).
1. The construction of Tomcat environment
Download the tomcat compression package directly from the Internet and unzip it.
2. Connection between Eclipse and Tomcat
A) search for Tomcat directly in the Eclipse App Store, and then I picked up a more Tomcat plugin in the results and installed it directly.
b) Configure the Tomcat version and other information in Eclipse (Server.xml is selected here to configure the virtual path when you add Tomcat project)
3. Start Tomcat
Three kitten-like icons in the toolbar
Click on the far left kitten to launch Tomcat and you can see the following information when you start the console successfully
Of course, directly in the browser input http://localhost:8080/can also see the information after the launch, if the start is successful, then the following page
4. Add a project to Tomcat project
A) Right-click on the project to->properties the following configuration (this image is from the Internet)