You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Servlet Examples

Part 1 - Installing/Running the Sample

Sample Overview
The Servlet sample is provided by the Apache Tomcat project. It demonstrates some of the more frequently used parts of the Servlet API.

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

Installing the Sample
This sample comes predeployed within the Geronimo server. The servlets-examples source war file is also available in the geronimo source code tree.

This includes:

  • Link to download the sample
  • Instructions/scripts for deploying the the sample application
  • Instructions/scripts for related setup (e.g. connection pool/data source, database, LDAP server, other required prerequisites, etc.)

Running the Sample

  • Start the Geronimo server (geronimo/bin/startserver.bin|sh)
  • Access the Geronimo Welcome page (http://localhost:8080)
  • Under the Geronimo Examples section.. Choose Servlet Examples
  • Each servlet example can be executed or the source can be viewed

Back Button Samples for Apache Geronimo

Contact Info: For questions, append to the Geronimo user list http://geronimo.apache.org/mailing.html

Back Button Samples for Apache Geronimo

  • No labels