On Tomcat 4.1, Web applications are deployed in one of the following ways:
By placing a WAR file in the sys:/tomcat/4/webapps directory (Recommended)
By placing an exploded WAR in the sys:/tomcat/4/webapps directory
By placing an exploded WAR anywhere on disk and then creating an XML file in sys:/tomcat/4/webapps
By using the first and second methods above with an XML file that specifies the settings for your application
These are standard methods across all platforms for deploying applications using Tomcat 4.x.
To deploy servlets and JSPs, use Tomcat Manager and see the Tomcat Web Application Manager How To documentation on the Apache Web site.
NOTE:If you are deploying administration applications on the Admin version of Tomcat (sys:/adminsrv/webapps), use the same methods outlined above, except that you should place XML in the sys:/adminsrv/webapps directory rather than in the sys:/tomcat/4/webapps directory.