How to configure Eclipse Tomcat Server? I am using Tomcat 6.0v
Thanks In Advance
Install tomcat on eclipse
1)First download the tomcat and install it on your hard drive.
2)Run the eclipse. Clicks on the window menu and then Preferences menu item.
3)Now expend the server item and select Runtime environment and after that click on the add button.
4)Now select Apache as a server type and expend and select tomcat 6.0(choose according to the tomcat version you are using ). I am using tomcat 6.0.x so I selected tomcat 6.0 and then clicks on the next button.
5)Clicks on the browse button.
6)Now find the location of tomcat on your local drive and select tomcat folder and clicks on the OK button.
7)Then clicks on the Finish button.
8)After above step, you have configured tomcat with Eclipse and can use it with eclipse. Now clicks on the OK button.
9)Now we need to view our tomcat server in eclipse so first click on the window menu and select Show View and then other view.
10)Now select Server item and then select server.
11)Now we are able to view our server view but we need to create a server instance that can be used to run our web based application.
12)Now right click on the server view as shown in the following figure. Again select new and thne Server and click.
13)Again select Apache and then tomcat 6.0 and clicks on the next button.
14)The screen?ll show you all application that are present in the tomcat workspace and ready to run on tomcat server. Right panel content all application that are ready to run on tomcat server. And click on the finish button.
After that in the server view you get tomcat server is ready to run.
15)There are 2 main buttons that are used to run tomcat according to developer needs. If you want to run tomcat in debug mode then select left button otherwise use right button.