Eclipse & Tomcat - Create a Webapp

(Free Web Tutorial)

by Michael Thomas

Tomcat Home Page

Use Eclipse to create a new webapp that will run on Tomcat from a .war file or from scratch.
On the Eclipse Home page, you can download the whole Eclipse site (all content, tutorials & examples) !!!

This tutorial covers: Eclipse Helios (IDE for Java EE Developers)  (1.3.0) , Apache Tomcat 6.0.29 (as of 08/12/2010)

Prerequisites

Objectives

General Info**

Create an Eclipse Project for a Tomcat Webapp

myeclipse-helloworld - Custom Example for Servlet, JSP, Java Bean

You have 2 options: (Of course, you can do both!)
Option #1 - create an Eclipse project from a .war file.
Option #2 - create an Eclipse project from scratch.

Option #1 - Create an Eclipse Project from a .war file in a Tomcat web container.

Option #2 - Create an Eclipse Project from scratch in a Tomcat web container.