1. Download apache bin file (apache-tomcat-8.5.5-windows-x64.zip).
2. Set the environment variables
a. CATALINA_HOME : D:\Apache\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5
b. JAVA_HOME : C:\Program Files\Java\jdk1.7.0_79
c . PATH=%PATH%;D:\Apache\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\bin;
3. Open command prompt and enter "startup"
4. Open apache tomcat home page on "http://localhost:8080/"
5. Create dynamic web project in Eclipse.
6. Create index.html under webcontent.
7. Export as war file into webapps location(D:\Apache\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\webapps).
8. Apache will automatically extract the war file
9. The index.html is accible throught link localhost/<project name>/index.html
10. Create a bat file ApacheStart.bat
@echo off
SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_77
set CATALINA_HOME=D:\Softwares\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5
set PATH=%PATH%;D:\Softwares\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\bin;
echo APACHE HOME :%CATALINE_HOME%
echo APACHE HOME :%JAVA_HOME%
echo APACHE HOME :%PATH%
startup
2. Set the environment variables
a. CATALINA_HOME : D:\Apache\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5
b. JAVA_HOME : C:\Program Files\Java\jdk1.7.0_79
c . PATH=%PATH%;D:\Apache\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\bin;
3. Open command prompt and enter "startup"
4. Open apache tomcat home page on "http://localhost:8080/"
5. Create dynamic web project in Eclipse.
6. Create index.html under webcontent.
7. Export as war file into webapps location(D:\Apache\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\webapps).
8. Apache will automatically extract the war file
9. The index.html is accible throught link localhost/<project name>/index.html
10. Create a bat file ApacheStart.bat
@echo off
SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_77
set CATALINA_HOME=D:\Softwares\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5
set PATH=%PATH%;D:\Softwares\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\bin;
echo APACHE HOME :%CATALINE_HOME%
echo APACHE HOME :%JAVA_HOME%
echo APACHE HOME :%PATH%
startup
11. Create a bat file ApacheShutdown.bat
@echo off
SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_77
set CATALINA_HOME=D:\Softwares\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5
set PATH=%PATH%;D:\Softwares\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\bin;
echo APACHE HOME :%CATALINE_HOME%
echo APACHE HOME :%JAVA_HOME%
echo APACHE HOME :%PATH%
D:\Softwares\apache-tomcat-8.5.5-windows-x64\apache-tomcat-8.5.5\bin\shutdown.bat