public static final int | PAGE_SCOPE | 1 |
public static final int | REQUEST_SCOPE | 2 |
public static final int | SESSION_SCOPE | 3 |
public static final int | APPLICATION_SCOPE | 4 |
作用域常量代表着作用域,是作用域的一个标记。
可以通过某些方法的参数得知,如:
abstract Enumeration<String> | getAttributeNamesInScope(int scope) Enumerate all the attributes in a given scope. |
scope为其枚举所有属性的范围。