The Apache Software Foundation is proud to present...
version 2.0.4
Back
Back - Back to samples home page

Web Applications
Protected Area - An example web-application built around db-authenticator, form-validator, session-validator and session-invalidator actions.

Stateful Applications
Session State - Here the application state is stored in a session attribute.
Sessionless State - Whereas this example uses the request header referer attribute. The complete URL must be known to the sitemap, so this works only if you Cocoon's servlet context is /cocoon.

Sample Forms
Manage Employees - Adds, updates and deletes Employees to the employees table. You should make sure that you have a database and table according to the docs/samples/sql/sql-page.xml.sql definitions. Don't forget to change the driver information...
Insert Department - Adds new Departments to the department table. You should make sure that you have a database and table according to the docs/samples/sql/sql-page.xml.sql definitions. Don't forget to change the driver information...
Insert Employees - Adds new Employees to the employees table. You should make sure that you have a database and table according to the docs/samples/sql/sql-page.xml.sql definitions. Don't forget to change the driver information...
Form Validation - This example demonstrates the use of an action to validate user input and report validation errors to the user through a taglib.

Copyright © 1999-2002 The Apache Software Foundation.
All rights reserved.