Tomcat is a servlet container and is the reference implementation for the Java Servlet en JaveServer Pages (JSP) technologies. It does not contain an EJB container!

Here below an overview of Tomcat version vs. Servlet/JSP specification.

Tomcat version Servlet/JSP Spec
5.5.4 2.4/2.0
4.1.31 2.3/1.2
3.3.2 2.2/1.1

The latest Tomact version can be downloaded from:

rss feed

Quick guides

Change the context path of your web application.

If you have created a web application (for example called "main"), you must deploy it in directory ..\Tomcat 4.1\webapps\main

If you want to deploy "main" in another directory, for example C:\workspace_tomcat, follow this procedure.

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
Tomcat 4.1.31.

  1. Create directory C:\workspace_tomcat.

  2. Move directory ..\Tomcat 4.1\webapps\main to C:\mobilefish_tomcat.

  3. Delete the empty directory ..\Tomcat 4.1\webapps\main

  4. Edit file ..\Tomcat 4.1\conf\server.xml

    <Context path="/main" docBase="C:\workspace_tomcat\main"
        debug="0" reloadable="true" crossContext="false">

    <Context ...>

    Note: The reloadable attribute should only be set to "true" in the development environment. When a file is changed in WEB-INF/classes or WEB-INF/lib, Tomcat will reload the application after a few seconds. Checking for changed files takes some resources and should only be used in a development environment.

  5. To access the main web application: