!!!定義済みオブジェクトを使用して、設計目標に応じたJSPコードを書く ,定義済みオブジェクト,クラスまたはインターフェース,種別 ,request,[javax.servlet.http.HttpServletRequest|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequestWrapper.html],interface ,response,[javax.servlet.http.HttpServletResponse|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse.html],interface ,out,[javax.servlet.jsp.JspWriter|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/JspWriter.html],class ,session,[javax.servlet.http.HttpSession|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html],interface ,config,[javax.servlet.ServletConfig|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletConfig.html],interface ,application,[javax.servlet.ServletContext|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html],interface ,page,java.lang.Object,class ,pageContext,[javax.servlet.jsp.PageContext|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/PageContext.html],class ,exception,java.lang.Throwable,class ::PageContext PageContextは、すべてのスコープに格納されたオブジェクトを取り扱うことができる。 ,スコープ定数 ,APPLICATION_SCOPE ,SESSION_SCOPE ,REQUEST_SCOPE ,PAGE_SCOPE '''メソッド''' * void setAttribute(String name, Object object, int scope); * Object getAttribute(String name, int scope); * void removeAttribute(String name, int scope); * Enumeration getAttributeNamesInScope(int scope); * Object findAttribute(String name); * int getAttributesScope(String name); ---- {{amazon 1932394389}} [SCWCD Exam Study Kit: Java Web Component Developer Certification (ペーパーバック)|http://www.amazon.co.jp/dp/1932394389?tag=typea09-22&link_code=as3&creativeASIN=1932394389&creative=3999&camp=767] ---- {{include_html banner_html, "!J2EE"}}