"Fossies" - the Fresh Open Source Software Archive

Member "apache-tomcat-8.5.58/webapps/docs/appdev/sample/index.html" (10 Sep 2020, 2266 Bytes) of package /windows/www/apache-tomcat-8.5.58-windows-x64.zip:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

Sample Application

The example app has been packaged as a war file and can be downloaded here (Note: make sure your browser doesn't change file extension or append a new one).

The easiest way to run this application is simply to move the war file to your CATALINA_BASE/webapps directory. A default Tomcat install will automatically expand and deploy the application for you. You can view it with the following URL (assuming that you're running tomcat on port 8080 which is the default):

If you just want to browse the contents, you can unpack the war file with the jar command.

        jar -xvf sample.war

Note: CATALINA_BASE is usually the directory in which you unpacked the Tomcat distribution. For more information on CATALINA_HOME, CATALINA_BASE and the difference between them see RUNNING.txt in the directory you unpacked your Tomcat distribution.