![]() |
||
![]() |
![]() Alden Hosting provides professional, efficient, and reliable business-class Web hosting services to small- and medium-sized businesses. |
|
|
javax.servlet.jsp
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
JspContext()
Sole constructor. |
|
| Method Summary | |
abstract java.lang.Object |
findAttribute(java.lang.String name)
Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null. |
abstract java.lang.Object |
getAttribute(java.lang.String name)
Returns the object associated with the name in the page scope or null if not found. |
abstract java.lang.Object |
getAttribute(java.lang.String name,
int scope)
Return the object associated with the name in the specified scope or null if not found. |
abstract java.util.Enumeration |
getAttributeNamesInScope(int scope)
Enumerate all the attributes in a given scope. |
abstract int |
getAttributesScope(java.lang.String name)
Get the scope where a given attribute is defined. |
abstract ExpressionEvaluator |
getExpressionEvaluator()
Provides programmatic access to the ExpressionEvaluator. |
abstract JspWriter |
getOut()
The current value of the out object (a JspWriter). |
abstract VariableResolver |
getVariableResolver()
Returns an instance of a VariableResolver that provides access to the implicit objects specified in the JSP specification using this JspContext as the context object. |
JspWriter |
popBody()
Return the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the JspContext. |
JspWriter |
pushBody(java.io.Writer writer)
Return a new JspWriter object that sends output to the provided Writer. |
abstract void |
removeAttribute(java.lang.String name)
Remove the object reference associated with the given name from all scopes. |
abstract void |
removeAttribute(java.lang.String name,
int scope)
Remove the object reference associated with the specified name in the given scope. |
abstract void |
setAttribute(java.lang.String name,
java.lang.Object value)
Register the name and value specified with page scope semantics. |
abstract void |
setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
Register the name and value specified with appropriate scope semantics. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JspContext()
| Method Detail |
public abstract void setAttribute(java.lang.String name,
java.lang.Object value)
null, this has the same
effect as calling
removeAttribute( name, PageContext.PAGE_SCOPE ).
name - the name of the attribute to setvalue - the value to associate with the name, or null if the
attribute is to be removed from the page scope.
java.lang.NullPointerException - if the name is null
public abstract void setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
null,
this has the same effect as calling
removeAttribute( name, scope ).
name - the name of the attribute to setvalue - the object to associate with the name, or null if
the attribute is to be removed from the specified scope.scope - the scope with which to associate the name/object
java.lang.NullPointerException - if the name is null
java.lang.IllegalArgumentException - if the scope is invalid
java.lang.IllegalStateException - if the scope is
PageContext.SESSION_SCOPE but the page that was requested
does not participate in a session or the session has been
invalidated.public abstract java.lang.Object getAttribute(java.lang.String name)
name - the name of the attribute to get
java.lang.NullPointerException - if the name is null
public abstract java.lang.Object getAttribute(java.lang.String name,
int scope)
name - the name of the attribute to setscope - the scope with which to associate the name/object
java.lang.NullPointerException - if the name is null
java.lang.IllegalArgumentException - if the scope is invalid
java.lang.IllegalStateException - if the scope is
PageContext.SESSION_SCOPE but the page that was requested
does not participate in a session or the session has been
invalidated.public abstract java.lang.Object findAttribute(java.lang.String name)
name - the name of the attribute to search for
java.lang.NullPointerException - if the name is nullpublic abstract void removeAttribute(java.lang.String name)
name - The name of the object to remove.
java.lang.NullPointerException - if the name is null
public abstract void removeAttribute(java.lang.String name,
int scope)
name - The name of the object to remove.scope - The scope where to look.
java.lang.IllegalArgumentException - if the scope is invalid
java.lang.IllegalStateException - if the scope is
PageContext.SESSION_SCOPE but the page that was requested
does not participate in a session or the session has been
invalidated.
java.lang.NullPointerException - if the name is nullpublic abstract int getAttributesScope(java.lang.String name)
name - the name of the attribute to return the scope for
java.lang.NullPointerException - if the name is nullpublic abstract java.util.Enumeration getAttributeNamesInScope(int scope)
scope - the scope to enumerate all the attributes for
java.lang.IllegalArgumentException - if the scope is invalid
java.lang.IllegalStateException - if the scope is
PageContext.SESSION_SCOPE but the page that was requested
does not participate in a session or the session has been
invalidated.public abstract JspWriter getOut()
public abstract ExpressionEvaluator getExpressionEvaluator()
public abstract VariableResolver getVariableResolver()
public JspWriter pushBody(java.io.Writer writer)
The returned JspWriter must implement all methods and behave as though it were unbuffered. More specifically:
writer - The Writer for the returned JspWriter to send
output to.
public JspWriter popBody()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
![]() |
|
http://alden-servlet-Hosting.com
JSP at alden-servlet-Hosting.com
Servlets at alden-servlet-Hosting.com
Servlet at alden-servlet-Hosting.com
Tomcat at alden-servlet-Hosting.com
MySQL at alden-servlet-Hosting.com
Java at alden-servlet-Hosting.com
sFTP at alden-servlet-Hosting.com
http://alden-tomcat-Hosting.com
JSP at alden-tomcat-Hosting.com
Servlets at alden-tomcat-Hosting.com
Servlet at alden-tomcat-Hosting.com
Tomcat at alden-tomcat-Hosting.com
MySQL at alden-tomcat-Hosting.com
Java at alden-tomcat-Hosting.com
sFTP at alden-tomcat-Hosting.com
http://alden-sftp-Hosting.com
JSP at alden-sftp-Hosting.com
Servlets at alden-sftp-Hosting.com
Servlet at alden-sftp-Hosting.com
Tomcat at alden-sftp-Hosting.com
MySQL at alden-sftp-Hosting.com
Java at alden-sftp-Hosting.com
sFTP at alden-sftp-Hosting.com
http://alden-jsp-Hosting.com
JSP at alden-jsp-Hosting.com
Servlets at alden-jsp-Hosting.com
Servlet at alden-jsp-Hosting.com
Tomcat at alden-jsp-Hosting.com
MySQL at alden-jsp-Hosting.com
Java at alden-jsp-Hosting.com
sFTP at alden-jsp-Hosting.com
http://alden-java-Hosting.com
JSp at alden-java-Hosting.com
Servlets at alden-java-Hosting.com
Servlet at alden-java-Hosting.com
Tomcat at alden-java-Hosting.com
MySQL at alden-java-Hosting.com
Java at alden-java-Hosting.com
sFTP at alden-java-Hosting.com
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP at JSP.aldenWEBhosting.com
Servlets at servlets.aldenWEBhosting.com
Tomcat at Tomcat.aldenWEBhosting.com
mysql at mysql.aldenWEBhosting.com
Java at Java.aldenWEBhosting.com
Web Hosts Portal
Web Links
Web Links
Web Hosting
JSP Solutions Web Links
JSP Solutions Web Hosting
Servlets Solutions Web Links
Servlets Solutions Web Hosting
Web Links
Web Links
.
.
.
.
.
.
.
.
.
.
jsp hosting
servlets hosting
web hosting
web sites designed
cheap web hosting
web site hosting
myspace web hosting