If you have configured the server, you may skip this step.
After you click on New button to choose a new server, another wizard should be displayed on top of the existing wizard. In this wizard, you are asked what server you wish to use. For our tutorial, we should use Apache Tomcat 5.5 so you need to select Apache Tomcat v5.5 from the list and press Next button.
From the illustration below, it is obvious that there are other servers available for you to select such as Bea WebLogic, JBoss and etc.
In the next wizard, we are required to provide the information on where our Apache Tomcat is located. In my machine, I extracted it on C:\tomcat-5.5.16 so I got to click on the Browse button on right side of the Tomcat installation directory textbox and we need to select the Tomcat folder for it. Additionally, you also need to provide on what Java Run Time (JRE) you want to use. If you have installed Java Development Kit (JDK), it should also install JRE automatically. Eclipse should be able to auto-detect and should provide you few options in the list. Choose the JRE that is installed together with the installation of your Java Development Kit (JDK). You can press Finish button and our server�s configuration is completed.
Back to our Dynamic Web Project configuration, after configuring the server, we should have Tomcat 5.5 as one of the options in the combo box for Target Runtime. Please select the server that you just recently added or have configured and press Next button.
Next wizard is shown. We can ignore them and keep them as default. Press Next button.
Now, we are in the last step of our Dynamic Web Project configuration. For this wizard, you should not modify the Context Root albeit you are allowed to do so as to understand the concept of context root may be puzzling. You can leave them as default and when you are more familiar with Java programming, you may try to play around with it.
You can amend the Content Directory with any name that you wish. Normally, J2EE Developers will name it the same as the Project Name to increase the maintainability of the project. For this tutorial, we are not going to change it and we are going to keep it as default - WebContent. For your information, this directory is the place where all the deployment descriptor, JSP files, other configuration files are located. Press Finish button and we have completed our Dynamic Web Project configuration.
You should be able to see something like below illustration.
Hai guys. This is the best, best, best website which gives me an idea for using the webtools platform of eclipse.