org.apache.struts.webapp.example
Class Constants

java.lang.Object
  extended byorg.apache.struts.webapp.example.Constants

public final class Constants
extends Object

Manifest constants for the example application.

Version:
$Revision: 187140 $ $Date: 2004-07-30 00:23:04 +0200 (Fri, 30 Jul 2004) $

Field Summary
static String DATABASE_KEY
          The application scope attribute under which our user database is stored.
static String ERROR_DATABASE_NOT_LOADED
          A static message in case database resource is not loaded.
static String ERROR_KEY
          The request attributes key under the WelcomeAction stores an ArrayList of error messages, if required resources are missing.
static String ERROR_MESSAGES_NOT_LOADED
          A static message in case message resource is not loaded.
static String FAILURE
          The token representing "failure" for this application.
static String PACKAGE
          The package name for this application.
static String SUBSCRIPTION_KEY
          The session scope attribute under which the Subscription object currently selected by our logged-in User is stored.
static String SUCCESS
          The token representing "success" for this application.
static String USER_KEY
          The session scope attribute under which the User object for the currently logged in user is stored.
 
Constructor Summary
Constants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE

public static final String PACKAGE
The package name for this application.

See Also:
Constant Field Values

FAILURE

public static final String FAILURE
The token representing "failure" for this application.

See Also:
Constant Field Values

SUCCESS

public static final String SUCCESS
The token representing "success" for this application.

See Also:
Constant Field Values

DATABASE_KEY

public static final String DATABASE_KEY
The application scope attribute under which our user database is stored.

See Also:
Constant Field Values

SUBSCRIPTION_KEY

public static final String SUBSCRIPTION_KEY
The session scope attribute under which the Subscription object currently selected by our logged-in User is stored.

See Also:
Constant Field Values

USER_KEY

public static final String USER_KEY
The session scope attribute under which the User object for the currently logged in user is stored.

See Also:
Constant Field Values

ERROR_DATABASE_NOT_LOADED

public static final String ERROR_DATABASE_NOT_LOADED
A static message in case database resource is not loaded.

See Also:
Constant Field Values

ERROR_MESSAGES_NOT_LOADED

public static final String ERROR_MESSAGES_NOT_LOADED
A static message in case message resource is not loaded.

See Also:
Constant Field Values

ERROR_KEY

public static final String ERROR_KEY
The request attributes key under the WelcomeAction stores an ArrayList of error messages, if required resources are missing.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.