Tomcat needs java environment, you do not have to install the java say
First, download
Official Links do not know when will fail, click on the download
Baidu Tomcat, on this point into the link, find the point Download Tomcat want to download, and find the corresponding own system version, download point ok, recommended version of the free installation, that is, the suffix is the zip
Second, the installation
Without having to install, unzip directly to where they want to put in, and then on ok
to enter after the start http: // localhost: 8080 /
can see, the interface on the right
Third, the environment configuration
First of all, this step could not get can not affect the use Tomcat, but with a better
Direct a new environment variable, add a
1, New: variable name:CATALINA_HOME;variable:Tomcat directory
2, added: variable name:Path; Variable value: ==% CATALINA_HOME% \ bin;% CATALINA_HOME% \ lib; == Note that the last has a semicolon
After this configuration can be started directly in the black box Tomcat (startup boot), then do not configure tomcat need to find these two, double-click startup.bat in the bin directory of the boot, shutdown.bat close
Fourth, the eclipse server configuration
Windows (window) ====> Preferences (Preferences) ====> Server (Server) ====> Runtime Environments (Runtime Environment)
to the right of point add, find the corresponding version of Tomcat, you find Tomcat put the folder and click Finish, to ok
Several other software developers are like, much the same configuration.
In addition, tomcat folderwebappsIs used to store web projects during development, if it is determined the project is no problem, but still 404 error, you can look at the items in this folder is not followed changed.
server.xml conf folder configuration information tomcat, the default port is changed here.