Installing Tomcat

TomCat Documentation

Apache Tomcat 8.5 Documentation Index

Installing TomCat with Eclipse

Follow the Setup Eclipse instructions from crunchify.com: Step by Step Guide to Setup and Install Apache Tomcat Server in Eclipse Development Environment (IDE)
You can run the TomCat server through the IDE or you can also run it manually:
export CATALINA_HOME=/yourpath/catalina/jakarta-tomcat-3.3.2
$CATALINA_HOME/bin/startup
$CATALINA_HOME/bin/shutdown
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
set PATH=%JAVA_HOME%\bin;%PATH%
set TOMCAT_HOME=c:\tomcat332
set CLASSPATH=.;c:\tomcat332\lib\common\servlet.jar;z:\tomcat332\webapps\examples\WEB-INF\classes;
c:\tomcat332\bin\startup

Run the batch file to start/shutdown Tomcat.

Once you have it installed and running, enter the URL below into your browser and you will have access the the code examples:

http://localhost:8080