1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.apache.commons.jxpath.servlet;
18
19 /**
20 * String constants for this package.
21 *
22 * @author Dmitri Plotnikov
23 * @version $Revision: 652845 $ $Date: 2008-05-02 13:46:46 -0400 (Fri, 02 May 2008) $
24 */
25 public final class Constants {
26
27 /**
28 * Variable name for {@link javax.servlet.ServletContext}.
29 */
30 public static final String APPLICATION_SCOPE = "application";
31
32 /**
33 * Variable name for {@link javax.servlet.http.HttpSession}.
34 */
35 public static final String SESSION_SCOPE = "session";
36
37 /**
38 * Variable name for {@link javax.servlet.ServletRequest}.
39 */
40 public static final String REQUEST_SCOPE = "request";
41
42 /**
43 * Variable name for {@link javax.servlet.jsp.PageContext}.
44 */
45 public static final String PAGE_SCOPE = "page";
46
47 /**
48 * Attribute name used in page context, requst, session, and servlet
49 * context to store the corresponding {@link org.apache.commons.jxpath.JXPathContext}.
50 */
51 public static final String JXPATH_CONTEXT =
52 "org.apache.commons.jxpath.JXPATH_CONTEXT";
53
54 }