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.
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
A new screen will open as shown below, in that Screen expand Servers -> Runtime Environments and click on Add button as shown below.
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.
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.
Step 3 :
Now click on Window and navigate to Show View ->Servers
Step 4 :
Now in server view area right click on new -> Server
Now from next screen select Apache -> Tomcatv6.0 Server and click finish.
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.
Related Articles