|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.action.RequestProcessor
RequestProcessor は、
コンテナから各サーブレットリクエストを受け取り、
ActionServlet が実行する処理ロジックを含みます。
リクエスト処理の振る舞いはこのクラスをサブクラス化し、
振る舞いを変えたいメソッドをオーバライドすることでカスタマイズできます。
RequestProcessor contains the processing logic that the @link(ActionServlet) performs as it receives each servlet request from the container. You can customize the request processing behavior by subclassing this class and overriding the method(s) whose behavior you are interested in changing.
| フィールドの概要 | |
protected java.util.HashMap |
actions
生成そして初期化された、 Action インスタンスのセット。
|
static java.lang.String |
INCLUDE_PATH_INFO
RequestDispatcher.include 要求を処理する間、
パス情報が格納されるリクエスト属性。 |
static java.lang.String |
INCLUDE_SERVLET_PATH
RequestDispatcher.include 要求を処理する間、
サーブレットパス情報が格納されるリクエスト属性。 |
protected static org.apache.commons.logging.Log |
log
Commons Logging のインスタンス。 |
protected ModuleConfig |
moduleConfig
関連付けられた ModuleConfiguration 。 |
protected ActionServlet |
servlet
関連付けられたサーブレット。 |
| コンストラクタの概要 | |
RequestProcessor()
|
|
| メソッドの概要 | |
void |
destroy()
アプリケーション終了の準備として消去を行います。 |
protected void |
doForward(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
RequestDispatcher を使用して指定された URI にフォワードします。
|
protected void |
doInclude(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
RequestDispatcher を使用して指定された URI インクルードします。
|
protected MessageResources |
getInternal()
内部にメッセージの文字列を含む MessageResources インスタンスを返します。 |
protected javax.servlet.ServletContext |
getServletContext()
実行しているウェッブアプリケーションのための ServletContext を返します。 |
void |
init(ActionServlet servlet,
ModuleConfig moduleConfig)
リクエスト処理インスタンスを初期化します。 |
protected void |
internalModuleRelativeForward(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
リクエストディスパッチャーを使用して、 指定された URI へのフォワードとモジュールを関係付けます。 |
protected void |
internalModuleRelativeInclude(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
リクエストディスパッチャーを使用して、 指定された URI に含めるモジュールを関係付けます。 |
protected void |
log(java.lang.String message)
推奨されていません。 この替わりに commons-logging を使用して下さい。 このメソッドは Struts 1.2. より後に削除されます。 @deprecated Use commons-logging instead. This will be removed in a release
after Struts 1.2. |
protected void |
log(java.lang.String message,
java.lang.Throwable exception)
推奨されていません。 この替わりに commons-logging を使用して下さい。 このメソッドは Struts 1.2. より後に削除されます。 @deprecated Use commons-logging instead. This will be removed in a release
after Struts 1.2. |
void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HttpServletRequest を処理して該当の
HttpServletResponse を生成します。
|
protected Action |
processActionCreate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
このリクエストを処理するために使用される Action インスタンスを返します。
|
protected ActionForm |
processActionForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
必要に応じ生成し維持しているマッピングに関連付けられた ActionForm を回収して返します。
|
protected ActionForward |
processActionPerform(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Action action,
ActionForm form,
ActionMapping mapping)
このリクエストを扱うことを指定された Action インスタンスへの問い合わせです。
|
protected void |
processCachedMessages(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
メッセージの isAccessed メソッドが真となる場合、
Globals.MESSAGE_KEY の中のセッションにある全ての
ActionMessages を削除します。
|
protected void |
processContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
要求された全てのレスポンスに対し、 (任意の文字エンコーディングとなる) デフォルトコンテントタイプを設定します。 |
protected ActionForward |
processException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Exception exception,
ActionForm form,
ActionMapping mapping)
例外を扱うために例外ハンドラーへ問い合わせを行います。 |
protected boolean |
processForward(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
(もしあれば)このマッピングによってリクエストされたフォワード先へ処理が渡されます。 |
protected void |
processForwardConfig(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ForwardConfig forward)
指定機構により、指定先へフォワードまたはリダイレクトします。 |
protected boolean |
processInclude(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
(もしあれば)このマッピングによるリクエストされた内部で処理します。 |
protected void |
processLocale(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
リクエストされた場合、ユーザの Locale を自動的に選定します。
|
protected ActionMapping |
processMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
このリクエストの選択パスを処理するために使用されるマッピングを選定します。 |
protected javax.servlet.http.HttpServletRequest |
processMultipart(javax.servlet.http.HttpServletRequest request)
マルチパートリクエストの場合、 特別なラッパでラップします。 |
protected void |
processNoCache(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
リクエストされた場合、全てのレスポンスに no-cache ヘッダを設定します。 |
protected java.lang.String |
processPath(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
遷移するための ActionMapping を選定するため使用する
(リクエスト URI からの)
パスコンポーネントを確認して返します。
|
protected void |
processPopulate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionForm form,
ActionMapping mapping)
このリクエストに含まれるリクエストパラメータから、 指定された ActionForm インスタンスのプロパティを作成します。
|
protected boolean |
processPreprocess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
サブクラスにより処理内容をオーバライドすることで、 多目的な前処理を行うことができます。 |
protected boolean |
processRoles(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
アクションがセキュリティ上役割により保護されている場合、 現在のユーザが少なくともその中の一人であるかを確認します。 |
protected boolean |
processValidate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionForm form,
ActionMapping mapping)
このリクエストがキャンセルされず、 かつリクエストの ActionMapping 検証が無効でない場合、
ActionForm で指定された validate メソッドが呼ばれ、
エラーがあった際には入力元のパスにフォワードされます。
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final java.lang.String INCLUDE_PATH_INFO
RequestDispatcher.include 要求を処理する間、
パス情報が格納されるリクエスト属性。
The request attribute under which the path information is stored for
processing during a RequestDispatcher.include call.
public static final java.lang.String INCLUDE_SERVLET_PATH
RequestDispatcher.include 要求を処理する間、
サーブレットパス情報が格納されるリクエスト属性。
The request attribute under which the servlet path information is stored
for processing during a RequestDispatcher.include call.
protected java.util.HashMap actions
生成そして初期化された、
Action インスタンスのセット。
Action クラスの省略していない Java クラス名をキーとします。
The set of Action instances that have been created and
initialized, keyed by the fully qualified Java class name of the
Action class.
protected ModuleConfig moduleConfig
関連付けられた ModuleConfiguration 。
The ModuleConfiguration with which we are associated.
protected static org.apache.commons.logging.Log log
Commons Logging のインスタンス。
Commons Logging instance.
protected ActionServlet servlet
関連付けられたサーブレット。
The servlet with which we are associated.
| コンストラクタの詳細 |
public RequestProcessor()
| メソッドの詳細 |
public void destroy()
アプリケーション終了の準備として消去を行います。
Clean up in preparation for a shutdown of this application.
public void init(ActionServlet servlet,
ModuleConfig moduleConfig)
throws javax.servlet.ServletException
リクエスト処理インスタンスを初期化します。
Initialize this request processor instance.
servlet - 関連付けられた ActionServlet
moduleConfig - 関連付けられた ModuleConfig
javax.servlet.ServletException - 初期化中にエラーが生じた場合
public void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
HttpServletRequest を処理して該当の
HttpServletResponse を生成します。
または、他のリソースに渡します。
Process an HttpServletRequest and create the
corresponding HttpServletResponse or dispatch
to another resource.
request - 関連付けられたサーブレットリクエスト
response - 生成するサーブレットリクエスト
java.io.IOException - 入出力エラーが生じた場合
javax.servlet.ServletException - 処理で例外が生じた場合
protected Action processActionCreate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
throws java.io.IOException
このリクエストを処理するために使用される
Action インスタンスを返します。
必要に応じて新しいインスタンスを作成します。
Return an Action instance that will be used to process
the current request, creating a new one if necessary.
request - 関連付けられたサーブレットリクエスト
response - 生成するサーブレットリクエスト
mapping - 使用するマッピング
java.io.IOException - 入出力エラーが生じた場合
protected ActionForm processActionForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
必要に応じ生成し維持しているマッピングに関連付けられた
ActionForm を回収して返します。
マッピングに関連付けられた ActionForm が無い場合、
null を返します。
Retrieve and return the ActionForm associated with
this mapping, creating and retaining one if necessary. If there is no
ActionForm associated with this mapping, return
null.
request - 関連付けたサーブレットリクエスト
response - 生成するサーブレットレスポンス
mapping - 使用するマッピング
protected void processForwardConfig(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ForwardConfig forward)
throws java.io.IOException,
javax.servlet.ServletException
指定機構により、指定先へフォワードまたはリダイレクトします。
このメソッドは、 ActionForward の代わりに
ForwardConfig オブジェクトを使用します。
Forward or redirect to the specified destination, by the specified
mechanism. This method uses a ForwardConfig object instead
an ActionForward.
request - 処理するサーブレットリクエスト
response - 生成するサーブレットレスポンス
forward - 次に行く先を制御する ForwardConfig
java.io.IOException - 入出力エラーが生じた場合
javax.servlet.ServletException - サーブレット例外が生じた場合
protected ActionForward processActionPerform(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Action action,
ActionForm form,
ActionMapping mapping)
throws java.io.IOException,
javax.servlet.ServletException
このリクエストを扱うことを指定された
Action インスタンスへの問い合わせです。
(もしあれば)さらに処理を行うため呼ばれた
Action により戻された
ActionForward インスタンスを返します。
Ask the specified Action instance to handle this
request. Return the ActionForward instance (if any)
returned by the called Action for further processing.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
action - 使用されるActionインスタンス
form - この Action に渡される ActionForm インスタンス
mapping - この Action に渡される ActionMapping のインスタンス
java.io.IOException - 入出力エラーが生じた場合
javax.servlet.ServletException - サーブレット例外が生じた場合
protected void processCachedMessages(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
メッセージの isAccessed メソッドが真となる場合、
Globals.MESSAGE_KEY の中のセッションにある全ての
ActionMessages を削除します。
これよりメッセージは、セッションに格納され、
ある期間表示でき、そこから解除されることになります。
Removes any ActionMessages object stored in the session under
Globals.MESSAGE_KEY if the messages'
isAccessed method returns true. This allows messages to
be stored in the session, display one time, and be released here.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
protected void processContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
要求された全てのレスポンスに対し、
(任意の文字エンコーディングとなる)
デフォルトコンテントタイプを設定します。
注意 -
RequestDispatcher.forward が最後に呼ばれた場合、
このヘッダは自動的にオーバライドされます。
Set the default content type (with optional character encoding) for
all responses if requested. NOTE - This header will
be overridden automatically if a
RequestDispatcher.forward call is
ultimately invoked.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
protected ActionForward processException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Exception exception,
ActionForm form,
ActionMapping mapping)
throws java.io.IOException,
javax.servlet.ServletException
例外を扱うために例外ハンドラーへ問い合わせを行います。
(もしあれば)呼ばれた ExceptionHandler により戻された
ActionForward インスタンスを返します。
Ask our exception handler to handle the exception. Return the
ActionForward instance (if any) returned by the
called ExceptionHandler.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
exception - 扱う例外
form - 処理を行う ActionForm
mapping - 使用する ActionMapping
java.io.IOException - 入出力エラーが生じた場合
javax.servlet.ServletException - サーブレット例外が生じた場合
protected boolean processForward(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
throws java.io.IOException,
javax.servlet.ServletException
(もしあれば)このマッピングによってリクエストされたフォワード先へ処理が渡されます。
標準処理が続く場合 true を返します。
また、このリクエストが既に処理された場合 false を返します。
Process a forward requested by this mapping (if any). Return
true if standard processing should continue, or
false if we have already handled this request.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
mapping - 使用する ActionMapping
java.io.IOException
javax.servlet.ServletException
protected boolean processInclude(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
throws java.io.IOException,
javax.servlet.ServletException
(もしあれば)このマッピングによるリクエストされた内部で処理します。
標準処理が続く場合 true を返します。
また、このリクエストで既に処理された場合 false を返します。
Process an include requested by this mapping (if any). Return
true if standard processing should continue, or
false if we have already handled this request.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
mapping - 使用する ActionMapping
java.io.IOException
javax.servlet.ServletException
protected void processLocale(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
リクエストされた場合、ユーザの Locale を自動的に選定します。
注意 -
ロケール選定の設定は、
必要に応じた新たな HttpSession 作成の切っ掛けとなります。
Automatically select a Locale for the current user, if requested.
NOTE - configuring Locale selection will trigger
the creation of a new HttpSession if necessary.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
protected ActionMapping processMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
throws java.io.IOException
このリクエストの選択パスを処理するために使用されるマッピングを選定します。
マッピングが見つけられない場合、
エラーレスポンスを生成して null を返します。
Select the mapping used to process the selection path for this request.
If no mapping can be identified, create an error response and return
null.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
path - マッピングを選定するためのリクエスト URI の一部
java.io.IOException - 入出力エラーが生じた場合
protected javax.servlet.http.HttpServletRequest processMultipart(javax.servlet.http.HttpServletRequest request)
マルチパートリクエストの場合、 特別なラッパでラップします。 その他の場合、リクエストをそのまま返します。
If this is a multipart request, wrap it with a special wrapper. Otherwise, return the request unchanged.
request - 処理を行う HttpServletRequest
protected void processNoCache(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
リクエストされた場合、全てのレスポンスに no-cache ヘッダを設定します。
注意 -
RequestDispatcher.forward が最後に呼ばれた場合、
このヘッダは自動的にオーバライドされます。
Set the no-cache headers for all responses, if requested.
NOTE - This header will be overridden
automatically if a RequestDispatcher.forward call is
ultimately invoked.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
protected java.lang.String processPath(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
遷移するための ActionMapping を選定するため使用する
(リクエスト URI からの)
パスコンポーネントを確認して返します。
そのようなパスが確認できない場合、
エラーレスポンスを生成して null を返します。
Identify and return the path component (from the request URI) that
we will use to select an ActionMapping with which to dispatch.
If no such path can be identified, create an error response and return
null.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
java.io.IOException - 入出力エラーが生じた場合
protected void processPopulate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionForm form,
ActionMapping mapping)
throws javax.servlet.ServletException
このリクエストに含まれるリクエストパラメータから、
指定された ActionForm インスタンスのプロパティを作成します。
付け加えると、
CancelTag により生成されたボタンでリクエストがサブミットされた場合
リクエスト属性 Globals.CANCEL_KEY が設定されます。
Populate the properties of the specified ActionForm instance from
the request parameters included with this request. In addition,
request attribute Globals.CANCEL_KEY will be set if
the request was submitted with a button created by
CancelTag.
request - 処理を行うサーブレットリクエスト
response - 生成するレスポンス
form - 作成する ActionForm インスタンス
mapping - 使用する ActionMapping
javax.servlet.ServletException - RequestUtils.populate() メソッドにより例外がスローされた場合
protected boolean processPreprocess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
サブクラスにより処理内容をオーバライドすることで、
多目的な前処理を行うことができます。
標準処理が継続される場合 true を返します。
また、レスポンスが既に完成した場合 false を返します。
デフォルトの実装はありません。
General-purpose preprocessing hook that can be overridden as required
by subclasses. Return true if you want standard processing
to continue, or false if the response has already been
completed. The default implementation does nothing.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
protected boolean processRoles(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
throws java.io.IOException,
javax.servlet.ServletException
アクションがセキュリティ上役割により保護されている場合、
現在のユーザが少なくともその中の一人であるかを確認します。
通常の処理が続く場合 true を返します。
また、適切なレスポンスが生成されて処理が終了する場合 false を返します。
If this action is protected by security roles, make sure that the
current user possesses at least one of them. Return true
to continue normal processing, or false if an appropriate
response has been created and processing should terminate.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
mapping - 使用するマッピング
java.io.IOException - 入出力エラーが生じた場合
javax.servlet.ServletException - サーブレット例外が生じた場合
protected boolean processValidate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionForm form,
ActionMapping mapping)
throws java.io.IOException,
javax.servlet.ServletException
このリクエストがキャンセルされず、
かつリクエストの ActionMapping 検証が無効でない場合、
ActionForm で指定された validate メソッドが呼ばれ、
エラーがあった際には入力元のパスにフォワードされます。
処理が続く場合、true を返します。
また、入力フォームに戻された場合、
false を返します。
If this request was not cancelled, and the request's
{@link ActionMapping} has not disabled validation, call the
validate method of the specified {@link ActionForm},
and forward to the input path if there were any errors.
Return true if we should continue processing,
or false if we have already forwarded control back
to the input form.
request - 処理を行うサーブレットリクエスト
response - 生成するサーブレットレスポンス
form - 作成するActionFormインスタンス
mapping - 使用する ActionMapping
java.io.IOException - 入出力エラーが生じた場合
javax.servlet.ServletException - サーブレット例外が生じた場合
protected void internalModuleRelativeForward(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
リクエストディスパッチャーを使用して、 指定された URI へのフォワードとモジュールを関係付けます。 URI はカレントモジュールに関係します。 実際の URI はモジュールの名前にプレフィックスを付けて導出されます。
Do a module relative forward to specified URI using request dispatcher. URI is relative to the current module. The real URI is compute by prefixing the module name.
このメソッドはパッケージ内で使用され、 パブリック API の部分はありません。 サブクラスの中で使わないことをお勧めします。
This method is used internally and is not part of the public API. It is advised to not use it in subclasses.
uri - フォワードのためにモジュールと関連付けた URI
request - このページのリクエスト
response - このページのレスポンス
java.io.IOException
javax.servlet.ServletException
protected void internalModuleRelativeInclude(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
リクエストディスパッチャーを使用して、 指定された URI に含めるモジュールを関係付けます。 URI はこのモジュールに関係します。 実際の URI はモジュールの名前にプレフィックスを付けて導出されます。
Do a module relative include to specified URI using request dispatcher. URI is relative to the current module. The real URI is compute by prefixing the module name.
このメソッドは内部で使われ、 パブリック API ではありません。 サブクラスでは使わなようにして下さい。
This method is used internally and is not part of the public API. It is advised to not use it in subclasses.
uri - 内部に含めるためにモジュールと関係付ける URI
request - このページのリクエスト
response - このページのレスポンス
java.io.IOException
javax.servlet.ServletException
protected void doForward(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
RequestDispatcher を使用して指定された URI にフォワードします。
フォワードが必要となる全ての内部メソッドによってこのメソッドは使われます
Do a forward to specified URI using a RequestDispatcher.
This method is used by all internal method needing to do a forward.
uri - フォワードするためのコンテクストと関連づける URI
request - このページのリクエスト
response - このページのレスポンス
java.io.IOException
javax.servlet.ServletException
protected void doInclude(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
RequestDispatcher を使用して指定された URI インクルードします。
このメソッドはインクルードする事が必要となる全ての内部メソッドにより使用されます。
Do an include of specified URI using a RequestDispatcher.
This method is used by all internal method needing to do an include.
uri - インクルードするためのコンテクストに関連付ける URI
request - このページのリクエスト
response - このページのレスポンス
java.io.IOException
javax.servlet.ServletExceptionprotected MessageResources getInternal()
内部にメッセージの文字列を含む
MessageResources インスタンスを返します。
Return the MessageResources instance containing our
internal message strings.
protected javax.servlet.ServletContext getServletContext()
実行しているウェッブアプリケーションのための ServletContext を返します。
Return the ServletContext for the web application in which
we are running.
protected void log(java.lang.String message)
このウェッブアプリケーションのサーブレットコンテクストログのための指定されたメッセージを記録します。
Log the specified message to the servlet context log for this web application.
message - 記録されるメッセージ
protected void log(java.lang.String message,
java.lang.Throwable exception)
このウェッブアプリケーションのサーブレットコンテクストログのための指定されたメッセージと例外を記録します。
Log the specified message and exception to the servlet context log for this web application.
message - 記録されるメッセージ
exception - 記録される例外
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||