KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > struts > webapp > example2 > Constants


1 /*
2  * Copyright 1999-2002,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
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: 54934 $ $Date: 2004-10-16 18:07:50 +0100 (Sat, 16 Oct 2004) $
26  */

27
28 public final class Constants {
29
30
31     /**
32      * The package name for this application.
33      */

34     public static final String JavaDoc 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 JavaDoc 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 JavaDoc 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 JavaDoc USER_KEY = "user";
56
57
58 }
59
Popular Tags