BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

How to configure Apache Tomcat Server in Eclipse IDE

Last Updated: June 23, 2017 by Chaitanya Singh | Filed Under: JSP tutorial

To run JSP  in Eclipse, you need a Server. In this tutorial we will see how to download and configure Apache tomcat server in Eclipse IDE.

Step 1: Download
Go to this link: http://tomcat.apache.org/download-80.cgi. If you are on Mac then click the zip file (first option under core). If you are on Windows then you have two options, 32 bit and 64 bit, depending on your operating system type click on the zip file, for example if you are on 64 bit windows then click on the 64-bit Windows zip.
Apache Tomcat Download location

In this tutorial, I’m downloading Apache tomcat version 8.0.44

Step 2: Extract the downloaded zip folder
Extract the zipped folder to any desired location.

Step 3: Select the Server in Eclipse IDE
Open Eclipse IDE ❯ Click on the Servers tab located at the bottom ❯ right click ❯ New ❯ click on Server
configuring_tomcat_server_in_Eclipse_IDE

Select Apache and then select the appropriate version of tomcat server, for example, I’ve downloaded the tomcat version 8.0.44 so I’m selecting Tomcat v8.0 Server. After selecting, click next.

If you don’t see the apache option in the add server list that means you are missing few adapters in Eclipse, refer this tutorial to fix the issue: How to fix “no apache tomcat adapter in Eclipse” issue

configuring_tomcat_server_in_Eclipse_IDE_2

You will be presented with a window as shown in the image below. Click browse and select the the folder that you have extracted from the zip file in Step 2.
configuring_tomcat_server_in_Eclipse_IDE_3

Click finish.
Browse_Downloaded_Tomcat_dir

That’s it you have successfully configured the tomcat server in Eclipse, you can now run the JSP in Eclipse.

Top Related Articles:

  1. Solution – The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
  2. JSP Scriptlet Tag (Scripting elements)
  3. How to fix Dynamic Web Project missing in Eclipse issue
  4. Java Server Pages (JSP) Life Cycle
  5. Include Directive in JSP

About the Author

I have 15 years of experience in the IT industry, working with renowned multinational corporations. Additionally, I have dedicated over a decade to teaching, allowing me to refine my skills in delivering information in a simple and easily understandable manner.

– Chaitanya

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

JSP Tutorial

  • Basics of JSP
  • Life cycle of JSP
  • JSP in Eclipse IDE

Scripting Elements

  • Scriptlet Tag
  • Expression tag
  • Declaration tag

Implicit Objects

  • Implicit Objects
  • JSP Request
  • JSP Response
  • JSP Config
  • JSP Application
  • JSP Session
  • JSP Out
  • JSP pageContext
  • JSP Exception
  • Validate session

JSP directives

  • JSP Directives
  • Include Directive

JSP Exception

  • Exception handling

JSP Action

  • Action tags
  • Include action
  • Forward action
  • useBean, setProperty & getProperty

Expression language

  • Expression language

JSP Custom Tags

  • Custom Tags
  • Custom tag example
  • JSP Interview Q

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap