org.apache.struts.tiles
クラス ActionController

java.lang.Object
  拡張org.apache.struts.tiles.ActionController
すべての実装インタフェース:
Controller

public class ActionController
extends java.lang.Object
implements Controller

Struts wrapper implementation of Controller. This implementation wraps an Action in a Controller.


フィールドの概要
private  Action action
          Struts action wrapped.
 
コンストラクタの概要
ActionController(Action action)
          Constructor.
 
メソッドの概要
 void execute(ComponentContext tileContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext)
          Method associated to a tile and called immediately before the tile is included.
 void perform(ComponentContext tileContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext)
          Method associated to a tile and called immediately before tile is included.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

action

private Action action
Struts action wrapped.

コンストラクタの詳細

ActionController

public ActionController(Action action)
Constructor.

パラメータ:
action - Action to be wrapped.
メソッドの詳細

perform

public void perform(ComponentContext tileContext,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.ServletContext servletContext)
             throws javax.servlet.ServletException,
                    java.io.IOException
Method associated to a tile and called immediately before tile is included. This implementation calls a Struts Action. No servlet is set by this method.

定義:
インタフェース Controller 内の perform
パラメータ:
tileContext - Current tile context.
request - Current request.
response - Current response.
servletContext - Current servlet context.
例外:
javax.servlet.ServletException
java.io.IOException

execute

public void execute(ComponentContext tileContext,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.ServletContext servletContext)
             throws java.lang.Exception
インタフェース Controller の記述:
Method associated to a tile and called immediately before the tile is included.

定義:
インタフェース Controller 内の execute
パラメータ:
tileContext - Current tile context.
request - Current request
response - Current response
servletContext - Current servlet context
例外:
java.lang.Exception
関連項目:
Controller.execute(org.apache.struts.tiles.ComponentContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext)


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation