1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.struts.webapp.example2;
19
20
21 /***
22 * Manifest constants for the example application.
23 *
24 * @author Craig R. McClanahan
25 * @version $Rev: 421494 $ $Date: 2006-07-12 20:55:17 -0700 (Wed, 12 Jul 2006) $
26 */
27
28 public final class Constants {
29
30
31 /***
32 * The package name for this application.
33 */
34 public static final String Package = "org.apache.struts.webapp.example";
35
36
37 /***
38 * The application scope attribute under which our user database
39 * is stored.
40 */
41 public static final String DATABASE_KEY = "database";
42
43
44 /***
45 * The session scope attribute under which the Subscription object
46 * currently selected by our logged-in User is stored.
47 */
48 public static final String SUBSCRIPTION_KEY = "subscription";
49
50
51 /***
52 * The session scope attribute under which the User object
53 * for the currently logged in user is stored.
54 */
55 public static final String USER_KEY = "user";
56
57
58 }