FileDocCategorySizeDatePackage
Constants.javaAPI DocApache Struts 2.0.9 Apps3845Mon Jul 23 13:43:12 BST 2007mailreader2

Constants

public final class Constants extends Object

Manifest constants for the MailReader application.

Fields Summary
public static final String
CANCEL

The token representing a "cancel" request.

public static final String
CREATE

The token representing a "create" task.

public static final String
DATABASE_KEY

The application scope attribute under which our user database is stored.

public static final String
DELETE

The token representing a "edit" task.

public static final String
EDIT

The token representing a "edit" task.

public static final String
PACKAGE

The package name for this application.

public static final String
SUBSCRIPTION_KEY

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

public static final String
USER_KEY

The session scope attribute under which the User object for the currently logged in user is stored.

public static final String
HOST

The token representing the "Host" property.

public static final String
ERROR_MESSAGES_NOT_LOADED

A static message in case message resource is not loaded.

public static final String
ERROR_DATABASE_NOT_LOADED

A static message in case database resource is not loaded.

public static final String
ERROR_DATABASE_MISSING

A standard key from the message resources file, to test if it is available.

public static final String
EXPIRED_PASSWORD_EXCEPTION

A "magic" username to trigger an ExpiredPasswordException for testing.

public static final String
PASSWORD_MISMATCH_FIELD

Name of field to associate with authentification errors.

public static final String
LOG_DATABASE_SAVE_ERROR

Message to log if saving a user fails.

Constructors Summary
Methods Summary