Install Tomcat 7 for Eclipse

As a web project runs on an HTTP server, a new server should be setup to hold the web project.

Download Tomcat 7.0 here. Download the core Zip version, and unzip it to a directory (remember this directory). In your eclipse, create a new Server.

create-server

Select the directory where you unzipped the tomcat.

create-apache2

Run the project on server, and you should have a welcome page as follows:

hello-world-result

Category >> Spring  
If you want someone to read your code, please put the code inside <pre><code> and </code></pre> tags. For example:
<pre><code> 
String foo = "bar";
</code></pre>
  • GhostDragon

    I assume the New > Server is a plugin?