Java Reference
In-Depth Information
It has one parameter:
•
java.lang.String
It throws these exceptions:
•
javax.servlet.ServletException
•
java.io.IOException
The
getAttribute(java.lang.String name)
Method
public abstract java.lang.Object getAttribute(java.lang.String name)
The
getAttribute(java.lang.String name)
method returns the object associated with the
name in the page scope or null. It throws no exceptions.
It has one parameter:
•
java.lang.String
It returns this value:
•
java.lang.Object
D
The
getAttribute(java.lang.String name, int scope)
Method
public abstract java.lang.Object getAttribute(java.lang.String name,
int scope)
The
getAttribute(java.lang.String name, int scope)
method returns the object associ-
ated with the name in the specified scope or null. It throws no exceptions.
It has two parameters:
•
java.lang.String
•
int
It returns this value:
•
java.lang.Object
getAttributeNamesInScope()
Method
public abstract java.util.Enumeration getAttributeNamesInScope(int scope)
The
getAttributeNamesInScope()
method returns an enumeration of names of all the attrib-
utes in the specified scope. It throws no exceptions.
It has one parameter:
•
int