HomeDocumentation > Apache Geronimo v1.0 - User's Guide > Sample applications > Servlet Examples

Servlet Examples

Part 1 - Installing/Running Servlet Examples

Overview
The Servlet examples are provided by the Apache Tomcat project. They demonstrate some of the more frequently used parts of the Servlet API.

  • Request Info
  • Request Headers
  • Request Parameters
  • Cookies
  • Sessions

Installing Servlet Examples

No need to install these examples as they come predeployed within the Geronimo server.
However, you can click the "attachment tab" above to download the application and deployment plans for Geronimo v1. Note that the attached deployment plans specify a different context-root to avoid conflict with the predeployed application.

Running the Examples

  • Start the Geronimo server (geronimo/bin/startup.bin|sh)
  • Access the Geronimo Welcome page (http://localhost:8080)
  • Under the Geronimo Examples section.. Choose Servlet Examples (Or you can access the examples directly at http://localhost:8080/servlets-examples/)
  • Each servlet example can be executed or the source can be viewed

Uninstalling the Examples
Servlet Examples can be easily removed by using the "Uninstall application" function of the Geronimo web console. The console is available at http://localhost:8080/console

Contact Info: If you have additional questions, please append to the Geronimo user mailing list: http://geronimo.apache.org/mailing.html

Back Button Sample applications