How To Configure Server In Eclipse
Server configuration in eclipse
In this section we will discuss about server configuration in eclipse that is basically used for web applications like Servlet, JSP or Struts based application. Before creating servlet or JSP based application (Web Application) you have to configure the server first.
Steps for configuring the server in Eclipse
1. Open Eclipse and go to the window menu and then preferences (window-> preferences).

2. Click on server and then Runtime environment (You can also search for).

3. Click add button and select appropriate version of server in my case its Apache Tomcat 7.0 and select create new local server check box. Click next.

4. Browser the Apache Tomcat v 7.0 installation folder or extracted folder.

Say finish and ok