Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.struts.tiles
Class ActionController  view ActionController download ActionController.java

java.lang.Object
  extended byorg.apache.struts.tiles.ActionController
All Implemented Interfaces:
Controller

public class ActionController
extends java.lang.Object
implements Controller

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


Field Summary
private  org.apache.struts.action.Action action
          Struts action wrapped.
 
Constructor Summary
ActionController(org.apache.struts.action.Action action)
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

private org.apache.struts.action.Action action
Struts action wrapped.

Constructor Detail

ActionController

public ActionController(org.apache.struts.action.Action action)
Constructor.

Method Detail

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.

Specified by:
perform in interface Controller

execute

public void execute(ComponentContext tileContext,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.ServletContext servletContext)
             throws java.lang.Exception
Description copied from interface: Controller
Method associated to a tile and called immediately before the tile is included.

Specified by:
execute in interface Controller