KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > examples > app3 > Constants


1 /*
2  * Copyright 2003 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 package examples.app3;
18
19
20 /**
21  * Manifest constants for this application.
22  *
23  * @author Craig R. McClanahan
24  * @author Ted Husted
25  * @version $Revision: 1.2 $ $Date: 2004/02/20 12:42:50 $
26  */

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

35     public static final String JavaDoc Package = "app";
36
37
38     /**
39      * The session scope attribute under which the Username
40      * for the currently logged in user is stored.
41      */

42     public static final String JavaDoc USER_KEY = "user";
43
44
45     /**
46      * The token that represents a nominal outcome
47      * in an ActionForward.
48      */

49     public static final String JavaDoc CONTINUE = "continue";
50
51
52     /**
53      * The value to indicate debug logging.
54      */

55     public static final int DEBUG = 1;
56
57
58     /**
59      * The value to indicate normal logging.
60      */

61     public static final int NORMAL = 0;
62
63 }
64
Popular Tags