Apache Tomcat is an open source web server. It provides a platform for JSP(Java Server Page) and Servlet-based Web Application. In this article, We provide step by step guide to configure tomcat 8 in eclipse.
Download and Extract Apache Tomcat 8
Download the tomcat zip file from the official Struts website. Click on “Tomcat 8” option under Download.
Click to download “32 bit/64 bit Windows zip” as per your system configuration.
After the download is completed, Extract the zip file to any location. I have extracted at “D:\”.
Open the eclipse. Go to “Window” menu and click on “Show View” option and click on “other…” option.
“Show View” dialog box will appear. Click on “Servers” option in “Server” category.
“Server” panel will appear like below.
“Right Click” on “Server” panel. Popup window will appear. Click on New and choose Server option.
“New Server” dialog box will appear. Choose “Tomcat v8.0 Server” in “Apache” category and click on “Next” button.
Click on “Browse” button.
Choose extracted tomcat path in “Browse For Folder” window. Click on “OK” button.
The path will appear in “Tomcat installation directory” and click on “Finish” button.
Congratulations!!! You have configured tomcat 8 in eclipse.