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 3.1.1 (as of 05/14/08), Apache Tomcat 6.0.16 (as of 05/25/08)

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.