It is always a good idea to integrate Tomcat Server with the IDE you use to implement web application. That makes things easy to quick deploy and test our application. Eclipse is the most used IDE in the world of java application development and in this tutorial we will see how to configure Tomcat Server in Eclipse IDE.
Before configuring Tomcat with Eclipse you must have Tomcat Server installed in your machine. If you do not have read the tutorial Download and Install Tomcat Server to know the way to install Tomcat in you local machine.
Following Steps are to be follow to integrate Tomcat Server with Eclipse :
Step 1. Go to File -> New -> Other. Then “Select Wizard” window will be open. Select “Server” option under “Server” group and click on “Next”.
Step 2. You will get a new window named “Define a New Server”. This window will give you a list of servers that can be integrated with Eclipse IDE. Choose the Tomcat Server version that you want to configure. In my case, it is “Tomcat v7.0 Server”.
After selecting server type and version click on “Next” button.
Step 3. The next window will ask you to define the location of the server (The top directory of tomcat installation). You will get two option here, either you can define the location of already installed server or you can click on “Download and Install” button which will download the server from internet and install it in local machine.
Then click on “Finish” button.
You have completed the integration of Tomcat server with Eclipse. Now you can try to run the server from eclipse.
The output of the server will be shown in Eclipse console.




