Home » Servlets » Configuration of Tomcat Server in eclipse :

Configuration of Tomcat Server in eclipse :

Configuration of Tomcat Server in eclipse :

For running Web Application in eclipse we need to configure Server in eclipse. Here I am going to tell you how to configure tomcat server in eclipse.

Steps to configure Tomcat in eclipse :

Follow the steps mentioned bellow to configure Tomcat Server in Eclipse.

Step1 :

Install tomcat in your system.Follow the steps mentioned in the previous topic for tomcat installation.

Step2 :

Open your Eclipse IDE and click on Window -> Preferences

Tomcat installation in eclipse

A new screen will open as shown below, in that Screen expand Servers -> Runtime Environments and click on Add button as shown below.

Tomcat installation in eclipse

A new window will open in this window expand Apache Tab.After that select version of your tomcat installation(in my case it is tomcatv6.0) and click Next.

Tomcat installation in eclipse

In next screen click on browse button and give the path of your tomcat installation(in my case it is "C:\Program Files\Apache Software Foundation\Tomcat 6.0").Select JRE as Workbench default JRE,after that click Finish and then OK.

Tomcat installation in eclipse


Step 3 :

Now click on Window and navigate to Show View ->Servers

Tomcat installation in eclipse


Step 4 :

Now in server view area right click on new -> Server

Tomcat installation in eclipse

Now from next screen select Apache -> Tomcatv6.0 Server and click finish.

Tomcat installation in eclipse

Now tomcat is configured in your eclipse


How to run tomcat in Eclipse :

You can run tomcat server by right click on it as shown below.

Tomcat installation in eclipse


Previous Article Next Article

comments powered by Disqus