Java Reference
In-Depth Information
The setAttribute(java.lang.String name, java.lang.Object
attribute) Method
public abstract void setAttribute(java.lang.String name,
java.lang.Object attribute) throws NullPointerException
The setAttribute(java.lang.String name, java.lang.Object attribute) method regis-
ters the name and object specified with page scope semantics. It returns no value.
It has two parameters:
java.lang.String
java.lang.Object
It throws this exception:
NullPointerException
The setAttribute(java.lang.String name, java.lang.Object o, int
scope) Method
public abstract void setAttribute(java.lang.String name,
java.lang.Object o,
int scope) throws NullPointerException, java.lang.IllegalArgumentException
D
The setAttribute(java.lang.String name, java.lang.Object o, int scope) method
registers the name and object specified with appropriate scope semantics. It returns no value.
It has three parameters:
java.lang.String
java.lang.Object
int
It throws these exceptions:
NullPointerException
java.lang.IllegalArgumentException
Exceptions
The javax.servlet.jsp package has two exceptions: JspError and JspException . Each has
two methods.
The JspError Exception
public class JspError extends JspException
 
Search WWH ::




Custom Search