クラスの使用
jakarta.servlet.jsp.JspContext
JspContext を使用するパッケージ パッケージ 説明 jakarta.servlet.jsp jakarta.servlet.jsp.tagext jakarta.servlet.jsp 内の JspContext 使用
jakarta.servlet.jsp 内の JspContext サブクラス 修飾子と型 クラス 説明 classPageContextPageContext は、JspContext を継承して、サーブレット環境で JSP テクノロジーを使用する場合に役立つコンテキスト情報を提供します。jakarta.servlet.jsp.tagext 内の JspContext 使用
JspContext を返す jakarta.servlet.jsp.tagext のメソッド 修飾子と型 メソッド 説明 abstract JspContextJspFragment. getJspContext()この JspFragment にバインドされている JspContext を返します。protected JspContextSimpleTagSupport. getJspContext()setJspContext 経由でコンテナーから渡されたページコンテキストを返します。型 JspContext のパラメーターを持つ jakarta.servlet.jsp.tagext のメソッド 修飾子と型 メソッド 説明 voidSimpleTag. setJspContext(JspContext pc)この呼び出しのJspContextをこのタグハンドラーに提供するためにコンテナーによって呼び出されます。voidSimpleTagSupport. setJspContext(JspContext pc)提供された JSP コンテキストをプライベート jspContext フィールドに保存します。